NSStringEncoding gbkEncoding =CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingGB_18030_2000);
NSString*pageSource = [[NSString alloc] initWithData:data encoding:gbkEncoding];
原文:http://www.cnblogs.com/songxing10000/p/4440255.html