标签:
NSString *city = @"北京";
NSString *city2 =[city stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLHostAllowedCharacterSet]];
IOS 中得urlencodeing
原文地址:http://www.cnblogs.com/4Dream/p/4789705.html