Re: Converting unicode strings to its values
Re: Converting unicode strings to its values
- Subject: Re: Converting unicode strings to its values
- From: Dave Keck <email@hidden>
- Date: Tue, 10 Mar 2009 23:27:23 -1000
Hey,
Try [NSString stringWithUTF8String: "\u00d6"];
David
On Tue, Mar 10, 2009 at 10:23 PM, Christian Netthöfel <email@hidden> wrote:
> Hi Everyone,
>
> I'm quite new to Cocoa-development and have a question regarding the
> conversion of unicode-representations. I have a string containing the
> unicode values for umlauts or other special characters as strings. What I
> want to do is to convert them to their real unicode value so that the
> characters are displayed.
>
> Example:
>
> "\u00d6" should become "ö"
>
> Note that "\u00d6" is not the same as \u00d6, I hope you understand what I
> want do say :)
>
> TIA
> Christian_______________________________________________
>
> 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
>
_______________________________________________
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