[Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems

Thiago Macieira thiago.macieira at intel.com
Tue Oct 7 17:41:56 CEST 2014


On Tuesday 07 October 2014 10:38:47 Kuba Ober wrote:
> Just to be very clear: it is currently impossible to make a truly portable
> file management utility with Qt’s core APIs. Why? Because it will simply
> ignore all file names that it can’t decode when iterating the directory,
> and it won’t be able to take commandline arguments to open such files
> either. Furthermore, this is something that very basic C code using nothing
> but POSIX APIs can trivially deal with. Or that Python 2 trivially deals
> with. I consider it a serious enough problem.

That's where we disagree: those file names are not common at all.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list