Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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 :


http://실례.테스트

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

Posted on Jun 23, 2012 9:00 AM

Reply
2 replies

UIWebView and International (foreign) domain - punycode support

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.