UIWebView and International (foreign) domain - punycode support
I am having trouble loading and displaying pages through UIWebView when the URL has foreign text inside the domain part of it. Such URLs are called IDNs and according to the standards (RFC 3490 and 3492), they need to be converted to the corresponding punycode.
For example, this URL :
I cannot get it to load and display in UIWebView (getting load error). From Safari, it works fine. Are there APIs in iOS to convert this to the punycode? Is there another way to load this URL from the UIWebView?
This particular URL must be convertd to this punycode "http://xn--9n2bp8q.xn--9t4b11yi5a" before it is sent out but I can't find a way (an API) to do this or get UIWebView to do this. Thanks.
iPhone 4S, iOS 5