// GET
NSString *strurl = @"http://120.25.226.186:32812/login2?username=(需要转的汉字)&pwd=520it&type=JSON";
//转码
strurl = [strurl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
// POST
//转码
request.HTTPBody = [@"username=(需要转的汉字)&pwd=520it&type=JSON" dataUsingEncoding:NSUTF8StringEncoding ];