标签:
7.0+
[string stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLPathAllowedCharacterSet]];
7.0-
[string stringByAddingPercentEscapesUsingEncoding:NSUTF8Encoding];
URL中汉字转码
原文地址:http://my.oschina.net/lavzchen/blog/494940