摘要: 在请求服务器时,如果参数中带有中文字符。就会报参数格式错误,需要将其转换成UTF8@interface NSString (NSURLUtilities)/* Adds all percent escapes necessary to convert the receiver into a legal URL string. Uses the given encoding to determine the correct percent escapes (returning nil if the given encoding cannot encode a particular charact 阅读全文
posted @ 2013-09-17 17:38 superchao 阅读(1101) 评论(0) 推荐(0) 编辑