spanish characters replaced with wierd string when 'stringWithFormat' is used?

Posted by surajbaba on Stack Overflow See other posts from Stack Overflow or by surajbaba
Published on 2010-05-12T07:34:42Z Indexed on 2010/05/12 7:44 UTC
Read the original article Hit count: 233

Filed under:
NSString *myString = [NSString stringWithFormat:@"%@",BernabÈu];
NSLog(@"%@", myString);

Above statement prints:

  Bernab\u00c8u

Here 'BernabÈu' is spanish character string

Why "\u00c8u" appended .How to get rid of this

© Stack Overflow or respective owner

Related posts about objective-c