Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fotios2008

macrumors newbie
Original poster
Nov 14, 2008
1
0
I retrieve some Unicode characters (French) from a server through http (using asynchronous request) and, of course, these characters are sent to me as UTF-8. So, I receive them as UTF-8 through an NSData object and then I create an NSString object from it. However, I can't convert them back to Unicode.

They're all escaped. For example the \u00e9 (french e with an accent on it), becomes \\u00e9. Does anyone know a way to solve this problem in Objective-C?

Thanks so much in advance,
Fotios
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.