NSString 转换成 UTF8 NSString str = @"鞋"; [str stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];