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

Oswald Buddenhagen oswald.buddenhagen at theqtcompany.com
Wed Oct 8 15:33:34 CEST 2014


On Wed, Oct 08, 2014 at 12:16:55PM +0200, Thiago Macieira wrote:
> The proposal by Kuba would be to have everything use a QFileName or
> similar class. So why not just use QUrl?
> 
yes, i think kuba's proposal is just as unpractical as the qurl one.

i'd have a much more favorable view towards a QFileName class if it
actually had some functionality of QFileInfo moved into it. but such
a refactoring of the entire i/o class structure (hey, another thing we
mentioned at the summit!) is a significantly bigger task than anyone was
willing to take upon so far.

therefore i think the only solution that is in scope (for qt 5 at least)
is re-introducing escaping at the places where recoding must be done.



More information about the Development mailing list