Skip navigation.
 
mlRe: wchar_t (utf-32) to NSString to utf-16
FROM : Nick Zitzmann
DATE : Tue Aug 15 22:43:43 2006

On Aug 15, 2006, at 2:37 PM, Michael Marmarou wrote:

> Is there any way to do this with
> Cocoa?


Sort of.

> If not, does anyone have a suggestion of how to do it?


See CFString.h, specifically the UTF-32 encodings and the 
CFStringConvertEncodingToNSStringEncoding() function.

Nick Zitzmann
<http://www.chronosnet.com/>

Related mailsAuthorDate
mlwchar_t (utf-32) to NSString to utf-16 Michael Marmarou Aug 15, 22:37
mlRe: wchar_t (utf-32) to NSString to utf-16 Nick Zitzmann Aug 15, 22:43
mlRe: Re: wchar_t (utf-32) to NSString to utf-16 Michael Marmarou Aug 15, 22:47
mlRe: wchar_t (utf-32) to NSString to utf-16 Ricky Sharp Aug 15, 22:57
mlRe: wchar_t (utf-32) to NSString to utf-16 Aki Inoue Aug 15, 23:02