NSURL *url = [NSURL URLWithString:@"http://www.naver.com"];

NSString *htmlSource = [NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding error:nil];

NSLog(@"%@", htmlSource);



NSUTF8StringEncoding  // UTF-8 Encoding


CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingEUC_KR// EUC-KR Encoding


Posted by NuBiFoRM :