Re: C++ string and UTF8
Re: C++ string and UTF8
- Subject: Re: C++ string and UTF8
- From: "R. Scott Thompson" <email@hidden>
- Date: Wed, 13 Apr 2005 20:45:07 -0500
On Apr 6, 2005, at 7:48 PM, Julien Palmas wrote:
I am not really used to the C++ libraries, so that might be quite easy.
Still, I didn't find much information on internet.
I have a c++ string containing UTF8 data.
I would like to make a NSString out of it.
Obviously, the c_str() method will not work as I will lose all the non ascii characters.
How about
+ (id) stringWithUTF8String:(const char *)bytes
(Search the headers man!)
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden