Let Linux (CentOS) support Chinese files and folders

Source: Internet
Author: User

First, let Linux support Chinese

1, the Linux env set the Lang=en_us. UTF-8;

2, the local shell client code is also set to UTF-8, so that the Windows uploaded to the Linux file or directory will not be garbled;

3, Important: If you need to manually edit the securefxportable upload Secruefx the session configuration file (Find session folder)

Select the Options->global Options menu in Securefx and select General in the Open Global Options dialog box. There is a configuration folder. The path inside is the Securefx configuration file path. Locate the INI configuration file for the corresponding session under the sessions subdirectory. In it, "Filenames always use UTF8" = 00000000 is modified to "Filenames always with use UTF8" = 00000001 Save the reconnect.

Second, if in the shell (or through HTTP access) is still garbled. To transcode the file name, install the following program under Linux:

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/

Description:/home/tomcat/webapps/origins/The file name under this directory for transcoding.

Let Linux (CentOS) support Chinese files and folders

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.