Enables linux (centos) to support Chinese files and folders, and linuxcentos
1. Enable linux to support Chinese Characters
1. Set the Linux env LANG = en_US.UTF-8;
2, local Shell client encoding is also set to UTF-8, so that the files or directories uploaded to linux in windows do not appear garbled;
3. Important: If you use SecureFXPortable to upload data, you must manually edit the configuration file of this Session of SecrueFX (find the session folder)
Select Options> Global Options in SecureFx, and select General in the Global Options dialog box that appears. There is a Configuration folder. The path is the configuration file path of SecureFX. Find the ini configuration file of the corresponding Session in the Sessions subdirectory. Change "Filenames Always Use UTF8" = 00000000 to "Filenames Always Use UTF8" = 00000001 to save and reconnect.
II,IfIn Shell (or access via http), it is still garbled. You need to install the following program in linux to transcode the file name:
Wget http://pkgs.repoforge.org/convmv/convmv-1.15-1.el2.rf.noarch.rpm
Rpm-ivh convmv-1.15-1.el2.rf.noarch.rpm
/Usr/bin/convmv-f gbk-t UTF-8-r -- notest/home/tomcat/webapps/origins/
Note:/home/tomcat/webapps/origins/transcodes the file names in the directory.