NSString and wchar_t
NSString and wchar_t
- Subject: NSString and wchar_t
- From: James Gregurich <email@hidden>
- Date: Tue, 18 Dec 2001 09:08:38 -0600
What is the proper way to convert between wchar_t* and
NSString/NSMutableString in Objective C++?
wchar_t is a unicode (double byte) character
To illustrate what I am after:
wchar_t *x = L"This is a string";
I want to be able to import x into NSString and NSMutableString and also
export from NSString and NSMutableString to x.
thanks,
James Gregurich