Quote Originally Posted by mattia View Post
but it's return a *QTextCodec ... isn't there a sort of toString() method to print the codec name?
You can try QTextCode::name() or QTextCodec::aliases(), but better simply set the right codec using QTextCodec::setCodecForCStrings().