Bug 61727 - ftp file names can not contain characters other than latin1
Summary: ftp file names can not contain characters other than latin1
Status: RESOLVED DUPLICATE of bug 56197
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: ftp (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-27 16:45 UTC by LiuCougar
Modified: 2003-07-27 22:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***