Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好,我正在从服务器获取响应字符串:Kav\u00e1la。在谷歌上搜索后,这个“\u00e1”是 UTF16。我正在尝试使用以下方法进行转换:
NSString *myJson = [responseString stringByReplacingPercentEscapesUsingEncoding:NSUTF16StringEncoding];
但什么都没有。一样的
“\u00e1”是字符“á”(小写a-acute)。