I mean to use statistics to guess what the encoding of the filename is and then to normalize names by converting them to Unicode.
Be aware that "down the well" QFile uses platform dependent means to access files and that was what I meant in my previous post.If that suceeds i still can't use QFile to open, because it will use utf-8 when converting the QString filename to char *. So I would ... need to keep the filename as a QByteArray too so I can open the file with native os-calls and promote the FILE * to a QFile later. This is getting messy![]()
Bookmarks