W3C home > Mailing lists > Public > public-sml@w3.org > July 2007

Re: ACTION-93: suggest a resolution to IRI support

From: Philippe Le Hegaret <plh@w3.org>
Date: Mon, 02 Jul 2007 13:26:18 +0000
To: public-sml@w3.org
Message-Id: <1183382778.4222.6.camel@localhost>

We were wondering last week if Java included IRI support. The basic
answer is no. it's scheduled for the next version:


One can use the class java.net.URL but you need to apply a conversion:
1- ensure that the IRI is encoded using Unicode characters (since Java
is using Unicode, this shouldn't be an issue)
2- percent escape UTF-8 based characters outside the US ASCII range in
the IRI path
3- use punycode for the domain name

The IRI comparison is then similar to URI.

See also

Received on Monday, 2 July 2007 13:26:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:24:15 UTC