iOS UTF-8、URL解码与转码 UTF-8解码NSString* str= [@"%E4%B8%AD%E5%9B%BD" stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; NSLog(@"strAfterDecodeByUTF8AndURI=%@", str); UTF-8转码[@"我是中文 iOS 2024-01-14 41 点赞 0 评论 62 浏览