[Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems
thiago.macieira at intel.com
Wed Oct 8 12:16:55 CEST 2014
On Wednesday 08 October 2014 12:10:07 Oswald Buddenhagen wrote:
> On Mon, Oct 06, 2014 at 05:21:45PM +0200, Thiago Macieira wrote:
> > File names that cannot be decoded using the locale codec are
> > considered filesystem corruption and are silently dropped. They won't
> > appear in directory listings.
> > This was discussed to exhaustion in Qt 5's development process.
> > The conclusion is to remain at status quo since there is no good,
> > technical solution.
> i actually don't see that conclusion. you mostly ignored the arguments
> about doing some kind of 8-bit passthrough. you sort of liked the idea
> to make QFile deal directly with urls, but it's obvious that this is a
> non-starter due to the effort required at higher levels. i still like my
> idea to do something akin to punycode ...
The proposal by Kuba would be to have everything use a QFileName or similar
class. So why not just use QUrl?
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development