AFNetworking传输乱码问题

AFHTTPRequestOperationManager *mgr = [AFHTTPRequestOperationManager manager];
[mgr.requestSerializer setValue:@"application/x-www-form-urlencoded; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
全局搜索Content-Type然后加上; charset=utf-8就可以了

你可能感兴趣的:(AFNetworking传输乱码问题)