objective c - convert a unicode string like "\udddd\udddd" to human readable string -


now have string "\u7c6e\u54c1\u23a8\u8357/\u4e01\u8f77\u7ba2\u7409" in xcode, want convert "籮品⎨荗/丁轷箢琉" objective-c.

but can't find api finish. should do? string content instead of string literal.

my application not need convert, situation that: have response server

name = "\u672a\u6765\u822a\u8def"; 

i print log:

nsstring *n = dict[@"name"]; nslog(@"%@",n); //未来航路 

i think application same.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -