将字符串转换为UTF8格式
[string stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLFragmentAllowedCharacterSet]];
将字符串转换为UTF8格式
[string stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLFragmentAllowedCharacterSet]];
转载于:https://www.cnblogs.com/xiaojiang-123/p/5303363.html