Qt-interest Archive, March 2007
QString Unicode To char *
Message 1 in thread
Hi all,
I am stuck up and need your help.
I have a QString that contains the unicode chinese Characters. E.g.
Hello(3Chinese characters)World.
All that i want to have that is i need a char * out of the QString in the
format.
I need a char* containing Hello%C8%F8%B4%EF%C4%B7World. This is what i need
from the unicode String.
But I need a generic solution to convert the chinese characters.
Message 2 in thread
Manjunatha M (ààààààà àà) wrote:
> I have a QString that contains the unicode chinese Characters. E.g.
> Hello(3Chinese characters)World.
>
> All that i want to have that is i need a char * out of the QString in the
> format.
>
> I need a char* containing Hello%C8%F8%B4%EF%C4%B7World. This is what i need
> from the unicode String.
>
> But I need a generic solution to convert the chinese characters.
How about QUrl::toPercentEncoding()?
--
[ signature omitted ]
Message 3 in thread
Need your help..
On 3/5/07, Manjunatha M (ààààààà àà) <manzee@xxxxxxxxx> wrote:
>
> Hi all,
> I am stuck up and need your help.
>
> I have a QString that contains the unicode chinese Characters. E.g.
> Hello(3Chinese characters)World.
>
> All that i want to have that is i need a char * out of the QString in the
> format.
>
> I need a char* containing Hello%C8%F8%B4%EF%C4%B7World. This is what i
> need from the unicode String.
>
> But I need a generic solution to convert the chinese characters.
>
>
>
--
[ signature omitted ]
Message 4 in thread
Hi,
> Need your help..
What about Maciek's answer?
--
[ signature omitted ]