NSString *city = @"北京";

    

    NSString *city2 =[city stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLHostAllowedCharacterSet]];

posted on 2015-09-07 19:01  4Dream  阅读(240)  评论(0)    收藏  举报