티스토리 뷰



try this.



let responseString = NSString(data: data, encoding:
CFStringConvertEncodingToNSStringEncoding( 0x0422 ) )




0x0422 means EUC-KR or CP949


NSString gets only known Encoding types, so you've to convert CFString Encoding type to NSString Encoding type.


Have fun.

댓글
댓글쓰기 폼