[Qt-interest] Howto decode escaped unicode string ?

Denis Akhmetzyanov dakhmetzyanov at smartlabs.tv
Thu Mar 18 13:26:03 CET 2010


Hi,
May be QUrl::fromPercentEncoding() can help.

2010/3/18 Aaron Lewis <aaron.lewis1989 at gmail.com>

> Hi,
>    I was trying to change the unicode string to normal strings. (decode
> escaped string)
>
>    Things like this: %E4%BD%A0%E5
>
>    You see , they are not Ascii Code , if i use QByteArray::fromHex , i
> got unwanted things.
>
>    Do anyone has ideas to solve this problem ?
>
>    Will appreciate your help ;-)
>
> --
> Best Regards,
> Aaron Lewis - PGP: 0x4A6D32A0
> FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
> irc: A4r0n on freenode
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100318/ae5e5c89/attachment.html 


More information about the Qt-interest-old mailing list