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

List:       kde-commits
Subject:    Re: KDE/kdelibs/kio/bookmarks
From:       Thiago Macieira <thiago () kde ! org>
Date:       2007-03-15 21:24:33
Message-ID: 200703152224.43719.thiago () kde ! org
[Download RAW message or body]


Thomas Reitelbach wrote:
>Hm, is this string already in the correct encoding?
>The corresponding code in 3.5 returns a string in latin1, even if the
> system locale was set to unicode.

QIODevice::errorString() returns a QString. Its encoding is always 
Unicode, which is also always the correct encoding.

There is no encoding conversion between a QString and another.

If your QString doesn't contain the proper text, there was an error 
somewhere else. In this case, somewhere in Qt. File a bug.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #3 (application/pgp-signature)]

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

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