<<< Back to the TFU FAQ
10. How to enable support for chinese/japanese file names?
The default setting of TFU/JFU does not support the correct display of chinese (or any non
ISO-8859-1) files names. The reason is that ISO-8859-1 works on all servers. E.g. chinese file names are written as e.g. ????.jpg then. To fix this you have to set the correct encoding of your server. TFU does use the function iconv to convert the filenames to the right encoding. A list of supported encodings can be found here:
http://www.gnu.org/software/libiconv/ .
To enable this you have to set $fix_utf8='' to the encoding you need. In JFU the parameter 'Fix encoding' has to be set. And you have to disable 'normalize file names'. I have sucessfully tested chinese with 'UTF-8' and 'Big5' (depending on the server).
You have to try your right encoding by yourself because I don't know your system. To check if you have the right encoding upload a file and the file has to be displayed right in TFU/JFU AND on your file system (check with ftp).
|