[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: ANSI to Unicode
From:       Dirk Mueller <dmuell () gmx ! net>
Date:       2001-06-30 20:48:37
[Download RAW message or body]

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 <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic