Tomasz 'Trog' Welman wrote:
>I am running linux and iso-8859-2 as my base encoding. I've written an app
>in Qt Jambi, which parses some files, and displays their contents. These
>files are always in iso-8859-2 encoding. Everything works fine.
>
>
>
[...]
>Can You propose some solution(s) to the above problems?
>
>
Hi, Tomasz.
Please see the documentation for QTextCodec:
http://doc.trolltech.com/qtjambi-4.3.4_01/doc/html/com/trolltech/qt/core/QTextCodec.html
This class allows you to convert raw bytes back and forth between
unicode and different other text encodings. Pick a single codec and use
it for encoding the bytes you write to disk, as well as decoding the
bytes you read in order to be consistent across different local 8-bit
encodings.
-- Eskil
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest