Re: NSString looses Umlaute
Re: NSString looses Umlaute
- Subject: Re: NSString looses Umlaute
- From: Kyle Sluder <email@hidden>
- Date: Thu, 22 Dec 2011 01:50:19 -0800
On Thu, Dec 22, 2011 at 1:42 AM, Alexander Reichstadt <email@hidden> wrote:
> OK, I found a way to import it into FileMaker. It looks good when I use DOS Encoding. But when I use kCFStringEncoding derivates I had no luck. I know CF and NSString is toll free bridged, but does this apply to the encodings as well? There is some post from 2000 by Ali Ozer that would suggest it's not the case.
>From Aki Inoue:
"You can convert CFStringEncoding to NSStringEncoding using
CFStringConvertEncodingToNSStringEncoding()."
http://www.cocoabuilder.com/archive/cocoa/89000-extending-nsstring-nsdata-datausingencoding-nsstringencoding-encoding.html
Sounds like you want to use this function to convert
kCFStringEncodingDOSLatinUS to an NSString encoding.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden