views:

322

answers:

1

It seems that the NSURLConnection have problems with handling æ,ø,å. And the webservice I'm trying to connect to do not handle that I convert them to UTF8 chars.

Any suggestions?

A: 

If you have some special characters in you url string you might have to convert these characters to percent escapes using

- (NSString *)stringByAddingPercentEscapesUsingEncoding:(NSStringEncoding)encoding` 

method and use the result later when working with NSURLs

Vladimir