wchar_t (utf-32) to NSString to utf-16
wchar_t (utf-32) to NSString to utf-16
- Subject: wchar_t (utf-32) to NSString to utf-16
- From: "Michael Marmarou" <email@hidden>
- Date: Tue, 15 Aug 2006 13:37:07 -0700
I don't see any documentation anywhere for converting a utf-32
(wchar_t*) string into an NSString or at least going to utf-16. There
are a couple posts that just suggest not using wchar_t, but that is
impossible for me.
I don't need to perform any operations on the resulting string, it
simply needs to go from utf-32 to utf-16. An output of a unsigned
short * would be fine as well. Is there any way to do this with
Cocoa? If not, does anyone have a suggestion of how to do it?
Thanks
Mike
_______________________________________________
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