Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Originally File Field module allows upload of CJK (Chinese, Japanese & Korean) documents without twisting the filenames. However, File Field Path twisted the filenames to emptyname.txt ( .txt) , I don't want to use the transliteration module (romanization) and just want to keep their original filenames as uploaded, is it possible ? Thanks
Comments
Comment #1
neRok CreditAttribution: neRok commentedI have not tested, but looking at the code, the module replaces tokens, cleans up with pathauto if enabled, and sends to transliterate if enabled. Do you have pathauto cleanup enabled, and have you checked its settings?
When you refer to an old version of FFP, which version in particular? This will help identify any problems. There was a change to the way FFP stores info in the database at some stage, and this could be the cause (incorrect table settings).
Comment #2
dzy CreditAttribution: dzy commentedthis is a big problem, after uploaded a chinese file, display name is fine (chinese filename)
but the saved local file's name is not correct(original).somehow changed, can not recognize.
i set my Centos 6.6 locale as zh_CN.utf8 or en_US.utf8
and set/or not set php, mysql , httpd charset as utf8.
nothing working, still cannot keep original filenames.
Comment #3
maximpodorov CreditAttribution: maximpodorov commentedMaybe this is the same problem: #1292436: php pathinfo with UTF problem.
Comment #4
Deciphered CreditAttribution: Deciphered commented#1292436: php pathinfo with UTF problem