I have a URI string like the following:
I am making java.lang.URI example with this string and it is successful, but when I want to retrieve the host it gives a blank return. Opera and Firefox have also messed up this URL if I am correctly reporting it as shown above. But is the URI class not invalidate the URIXXX?
.christlicheparteiösterreichs.at / steiermark /
Now it has been accepted by opera and Firefox But Java has been Still do not like it. How can I handle this type of URL?
Thanks
Java 6 class to work with international domain names Therefore, the following URI creates an encoded hostname:
URI U = new URI ("http: //" + IDN.toASCII ("www.christlicheparteiösterreichs.at") + "/ Steermark / ");
Comments
Post a Comment