Navod ako na qt3 vyvorit kodek:

http://linux.die.net/man/3/qtextcodec