Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, April 2007
conversion QString Unicode to char*: Need you help


Message 1 in thread

Hi All,

I have a Qstring that contains some unicode characters. I want to convert
that QString to a Char*.. Please let me know ASAP.

-- 
 [ signature omitted ] 

Message 2 in thread

hi ,

you can defnitely convert this for EG:

there is a funciton to convert from unicode string to QSTRING

QString::fromWCharArray();

please check.. there  will be a function

 QString::ToWCharArray();

and there are number of  functions like these  for conversion to standard
string etc...

Note :  some are static functions



thanks,
~~Jits


On 4/20/07, Manjunatha M (ààààààà àà) <manzee@xxxxxxxxx> wrote:
>
> Hi All,
>
> I have a Qstring that contains some unicode characters. I want to convert
> that QString to a Char*.. Please let me know ASAP.
>
> --
> vaMdhanegalu,
> Manja.




-- 
 [ signature omitted ] 

Message 3 in thread

Manjunatha M (ààààààà àà) wrote:
> Hi All,
> 
> I have a Qstring that contains some unicode characters. I want to 
> convert that QString to a Char*.. Please let me know ASAP.
> 
> -- 
> vaMdhanegalu,
> Manja.

QChar * QString::data ()

--
 [ signature omitted ]