Re: C++ string and UTF8
Re: C++ string and UTF8
- Subject: Re: C++ string and UTF8
- From: daniel <email@hidden>
- Date: Wed, 6 Apr 2005 18:31:54 -0700
Is it true that the c_str will "de-UTF8" a C++ string's characters?
I'm guessing it probably doesn't, and you can use it combined with
NSString "stringWithUTF8String" convenience method to make the
conversion you require.
Daniel
On Apr 6, 2005, at 5:48 PM, Julien Palmas wrote:
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.
_______________________________________________
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