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

Tony Van Eerd tvaneerd at blackberry.com
Tue Oct 7 23:19:23 CEST 2014


> 
> The problem is serious enough, indeed, that Python 3 has resorted to a hack
> where they use a private Unicode range to encode the bytes between 128
> and 255 in strings that fail normal decoding. I think that putting this hack into
> QString is unthinkable, and the concept of a platform string has to be taken
> with heads up and in a manner that will make it useful, usable and
> unobtrusive. I don't claim that it's a trivial task, but then I'm not asking
> anyone else but myself to deal with it :)
> 
> Cheers, Kuba

I think that hack should be given serious consideration.  Sure it is a hack, but it might still be the best solution.

Tony




More information about the Development mailing list