Re: Converting unicode strings to its values

2009-03-12 Thread Dave Keck
Hey, Try [NSString stringWithUTF8String: "\u00d6"]; David On Tue, Mar 10, 2009 at 10:23 PM, Christian Netthöfel 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

Re: Converting unicode strings to its values

2009-03-11 Thread Michael Vannorsdel
I could be remembering wrong but I think you can append unichars to mutable strings with [mstr appendFormat:@"%C", theunichar]. Or use %S for a null terminated array of unichars. On Mar 11, 2009, at 4:00 AM, Ken Thomases wrote: If a string literal in your source code actually contains the

Re: Converting unicode strings to its values

2009-03-11 Thread Ken Thomases
On Mar 11, 2009, at 3:23 AM, Christian Netthöfel wrote: 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 conv

Converting unicode strings to its values

2009-03-11 Thread Christian Netthöfel
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 t