Re: NSString looses Umlaute
Re: NSString looses Umlaute
- Subject: Re: NSString looses Umlaute
- From: Alexander Reichstadt <email@hidden>
- Date: Thu, 22 Dec 2011 10:42:28 +0100
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.
Am 22.12.2011 um 10:24 schrieb Vincent Habchi:
>> Yes, tried NSUTF8StringEncoding, I really tried all the ones I found in the NSString encoding documentation.
>>
>> When I import this file as DBF into FileMaker Pro it looks just as bad. But when I import it into a MySql it works fine.
>>
>> Here an example of what NSLog says:
>>
>> "R\U0094h.",
>> "R\U0094hrchen"
>>
>> It should instead say Röhrchen.
>
> It looks like you string is UTF-16 based (\U0094 looks like UTF-16).
> But ö should be \U00F6, not \U0094 or 0xC3 0xB6 in UTF-8.
>
> Something is rotten in your tubes! ;)
>
> Cheers,
> Vincent
_______________________________________________
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