Unescape escaped Unicode characters

Discussion in 'iOS Programming' started by fotios2008, Nov 14, 2008.

  1. fotios2008 macrumors newbie

    Nov 14, 2008
    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,
  2. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    At which stage in your process do they become escaped?


Share This Page