[Qt-interest] QTextCodec?
Tony Rietwyk
tony.rietwyk at rightsoft.com.au
Thu Aug 19 04:05:51 CEST 2010
Hi,
Maybe you need to enable East Asian languages in Windows itself? On XP this
in Control Panel/Regional and Language Options/Languages tab?
Tony
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com
> [mailto:qt-interest-bounces at trolltech.com] On Behalf Of nobody
> Sent: Thursday, 19 August 2010 10:07
> To: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] QTextCodec?
>
>
> On 19/08/2010 2:01 AM, Thiago Macieira wrote:
> > On Wednesday 18 August 2010 14:47:55 nobody wrote:
> >> Hi,
> >> Anyone know if this function will work without libiconv
> installed on
> >> win32 QTextCodec::toUnicode() ?
> >>
> >> I can't find any configure option using enable iconv with
> Qt-4.7 beta2
> >> But this particular function crash at run-time
> >> QTextCodec::codecForName("supported encodings")
> >> The returned codec is zero.
> >
> > Qt doesn't offer you codecs from libiconv. It uses libiconv
> only to translate
> > the Unix locale to UTF-8, so that we don't need to detect
> which charset the
> > locale uses.
> I see so don't have to worry about not having libiconv
> installed on Windows.
> >
> > libiconv is not used on Windows.
> >
> > That also means that Qt offers exactly the same codecs on
> Windows, on Mac and
> > on Linux, but not on Symbian (on Symbian, we actually do
> offer the codecs from
> > the system).
> I just ran function on Qt 4.7 beta2 on my system and it
> returns this list.
> QList<QByteArray> availableCodecs ()
>
<snipped/>
>
> As you can see, for example Big5 or CP950 isn't in the list but is in
> the official qt 4.6 documentations
> http://doc.qt.nokia.com/4.6/qtextcodec.html under detailed
> descriptions.
> If I'm reading correctly. I think none of the Asian countries
> languages
> charset are listed as available codecs on my system, why is that ?
More information about the Qt-interest-old
mailing list