标签:esc using string nsurl coding with 中文url pre obj
NSString *urlStr = @"";
// 将中文URL进行转码
urlStr = [urlStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSURL *url = [NSURL URLWithString:urlStr];
标签:esc using string nsurl coding with 中文url pre obj
原文地址:https://www.cnblogs.com/mustard22/p/11552407.html