I need the actual name of the character set from which QFile::decodeName() is converting. The docs say that it's the "local 8-bit encoding."
I'm not sure what that means, but I suppose it's the codec returned by QTextCodec::codecForLocale(). Unfortunately, this: QTextCodec::codecForLocale()->name() returns "System" on platforms that come with a Qt that uses ICU (pretty much all Linux distributions.) With an ICU-less Qt build, I get the correct name, like "UTF-8" or "UTF-16LE", which what I need. Is there anything I can do? And are QFile's decodeName() and encodeName() functions actually using the codecForLocale() codec to begin with? _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest