[Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems
thiago.macieira at intel.com
Mon Oct 6 17:21:45 CEST 2014
On Monday 06 October 2014 11:12:57 Kuba Ober wrote:
> Thus, how does Qt deal with a directory listing with such “invalid” file
> names? Do they survive the round-trip through a QString and QDirIterator?
> Would it be worthwhile to tackle this issue in a better fashion (whatever
> it might be) for Qt 6?
File names that cannot be decoded using the locale codec are considered
filesystem corruption and are silently dropped. They won't appear in directory
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.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development