Bug 61727

Summary: ftp file names can not contain characters other than latin1
Product: [Frameworks and Libraries] kio Reporter: LiuCougar <liucougar>
Component: ftpAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description LiuCougar 2003-07-27 16:45:54 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.3 
OS:          Linux

Using konqueror to browse ftp sites,  all chinese characters can not be displayed correctly.

I find out that the kioslave/ftp/ftp.cc heavily uses QString::latin1() and QString::fromLatin1().

After I change all occurencs of these two to QString::local8Bit() and QString::fromLocal8Bit(), although I can see the correct characters, it is impossible to change directory to it or downlo any files which names contain Chinese.

I think the proper solution is to allow the users to select what encoding should be used when he browse a ftp site, as when browsing a web page.
Comment 1 Thiago Macieira 2003-07-27 22:47:10 UTC
Known problem that isn't yet solved. 

*** This bug has been marked as a duplicate of 56197 ***