I’d like to encode my message correctly. When I post my data via PHP to my email, some characters look wrong (in german ü, ö, ä look like u, o, a). How do I correctly encode my message in UTF-8?
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.
Am I right if I assume that you want to send an NSString to a server?
Try using NSString’s
-stringByAddingPercentEscapesUsingEncoding:before generating the URL.