From kde-devel Sat Jun 30 20:48:37 2001 From: Dirk Mueller Date: Sat, 30 Jun 2001 20:48:37 +0000 To: kde-devel Subject: Re: ANSI to Unicode X-MARC-Message: https://marc.info/?l=kde-devel&m=99394395306092 On Sam, 30 Jun 2001, Tomasz Grobelny wrote: > Is there any standard way of converting various character encodings(ANSI CP > 1250, CP 1252, ISO 8859-1, 8859-2) to Unicode? In Qt documentation I found > sth like QTextCodec, but it does not provide the most common ANSI and ISO > charsets conversion. And one more thing. I don't want to rely on locales. I > 'd like to specify from which charset I will convert. Just read the documentation,.. QTextCodec::codecForName("CP 1252"); or better use KCharsets, its faster. Dirk >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<