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

Julien Blanc julien.blanc at nmc-company.com
Thu Oct 9 09:55:36 CEST 2014


On 09/10/2014 09:27, Thiago Macieira wrote:
> The only one that poses trouble are ISO-9660 CD-ROMs that have Rock Ridge
> extensions for Unix attributes and longer file names. Do people still have CD
> drives?

People also have zip files, which unfortunately may have various 
encoding in them, since the only normative encoding for zip files is cp437…

I have a bunch of such zip files, that :
- cannot be extracted with gui tools
- will result in bad filenames (including invalid utf-8) when extracted 
using « stupid » command line tools.

IMHO saying « the problem does not exist » is not a good answer, because 
if it really didn’t this issue would never have been raised. The 
questions to answer are :
- is it worth breaking lot of code ? (because it will : a good solution 
needs a complete refactor of qt io code, just providing a QFilePath 
class will not be enough)
- will it be ready before c++ provides a core solution ?
- is there someone willing to do it ?

Regards,

Julien Blanc



More information about the Development mailing list