[Qt-jambi-interest] Character encoding problem.
Tomasz 'Trog' Welman
twelman at swmud.pl
Thu Apr 3 12:29:17 CEST 2008
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.
My friend is using this app, he is also running linux, but have utf8 as
his base encoding, and when the iso2 data is loaded to gui objects (i.e.
QLineEdit) he is seeing horrible :) things instead of some iso2 specific
characters.
There is also a problem, when he puts some characters into gui objects,
because he is putting them in utf8 and then, his input texts, descriptions
(generally characters) are marshalled into files (using JAXB), and the
files must be in iso2 encoding. There wouldn't be any problem if the files
were in utf8. The situation described above produces a mix of utf8 and
iso2, which is unconvertable by JAXB.
Can You propose some solution(s) to the above problems?
--
Tomasz 'Trog' Welman
More information about the Qt-jambi-interest
mailing list