Solve the problem of garbled gftp under Linux operating system

Source: Internet
Author: User

The default state gftp is not set character encoding, so we on the FTP, see inside the Chinese file name is all garbled, or not part of the file see folder but no name;

In fact, after the gftp-2.0.17 version has been very good support for Chinese characters, I set the method is to its configuration file modification can!

The general software configuration file will be placed in the user directory, for example, I use root login, I will open the terminal, in the root

#cd Root

#ls-A//NOTE: Browse all directories, including hidden files

#cd. GFTP//Pay attention to the "." Before gftp.

#vi GFTPRC

Press I, move the cursor to line 41, find remote_charsets=, and write the usual code behind it CP936,GB18030,GBK,GB2312,UTF-8,EUC-TW

Press the ESC key and enter the following

: Wq

Enter the exit can be saved;

The above already includes the Chinese commonly used font and the Taiwanese traditional characters; basically can solve the problem, I have no problem, do not know what will happen to you!

  



Related Article

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.