+(NSString *)strUTF8Encoding:(NSString *)str{
return [str stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
// return [str stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
}
网友评论