I’m struggling with encoding a NSString variable to Euc-kr type… 🙁
The DB server I have to communicate is based on Euc-kr so I have no choice but to do it.
I’m struggling with encoding a NSString variable to Euc-kr type… :
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The above answer is nearly right, but as EUC-KR is not an NSString encoding, you first have to get the encoding from CF land. Something like this: