Bug 125355 - Please implement FTP internationalization as per RFC2640
Summary: Please implement FTP internationalization as per RFC2640
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: ftp (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 13:24 UTC by Gilles Schintgen
Modified: 2018-07-20 21:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Schintgen 2006-04-11 13:24:53 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Gentoo Packages

It would be nice if kio_ftp could make use of the internationalization feature which is proposed in RFC 2640.
http://www.ietf.org/rfc/rfc2640.txt
More specifically, the server should include "UTF8" in its response to the "FEAT" inquiry. This informs the client about the server's adherence to the aforementioned RFC.

Note also this paragraph:
  "Many existing clients interpret 8-bit pathnames as being in
   the local character set. They MAY continue to do so for
   pathnames that are not valid UTF-8."

Independently of the UTF8 FEATure, I'd like to propose that kio_ftp uses UTF-8 as default encoding, since this is the local character set on most current systems. As far as I know, most popular FTP clients already accept UTF-8 filenames without forcing the user to change the encoding manually.
Comment 1 Thiago Macieira 2006-04-14 00:38:05 UTC
Most FTP servers don't implement any sort of UTF-8 recognition. They just treat the filenames as a stream of bytes and save that to disk. They expect the client to know what encoding to use. 

All that is fine as long as you don't use another client or you don't try to access the files through other means (e.g., shell or fish to the same server).
Comment 2 Nate Graham 2018-07-20 21:30:04 UTC
UTF-8 is the default encoding now.