Monday, 15 April 2013

ios - How do I set encoding with NSURLConnection/NSData/String? -


I am using an API that is returning data with some encoding problems. In Firefox, special characters are displayed properly, such as the word "ombre." In the Safari and, in response to an NSURL connection - that word comes in the form of "Ombro". I am then displaying this app in my app in UILABLLES. How do I deal with encoding issues? If I emphasize the Safari in UTF-8, then special characters are shown properly, how do I return NSDR connections or NSData?


No comments:

Post a Comment