ios - UTF8 encoding in NSString -


i used following code encode unicode character "\u1000" utf8 encoding.

nsstring *unicodestring = @"\u1000"; nslog(@"%s", [unicodestring utf8string]); 

the expected result \u00e1\u0080\u0080 getting \u00b7\u00c4\u00c4.

am missing here?


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -