When upload files with non-Latin file names, all the non_Latin characters in the file name disappeare, but reopen the IMCE window, the file still exists with correct file name. Very weirdly.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fishfree’s picture

Maybe it's because the PHP built-in function basename() can not work well with non-Latin characters. Using drupal_basename() instead.

fishfree’s picture

Assigned: Unassigned » fishfree
Status: Active » Needs review
FileSize
1.23 KB

patch

DamienMcKenna’s picture

Assigned: fishfree » Unassigned

@fishfree: Thanks for the patch. Please note that you should only set the "assigned" field to your name if you plan on working on something, otherwise leave it unassigned.

fishfree’s picture

Assigned: Unassigned » fishfree
Status: Needs review » Closed (fixed)