URI<=>IRI conversion examples

Hi,

  Some examples:

[1] http://www.example.org/~bjo&#x308;rn (IRI in XML)
[2] http://www.example.org/~bjo%CC%88rn  (URI in UTF-8 text/plain)
[3] http://www.example.org/~bjo%CC%88rn  (IRI in UTF-8 text/plain)
[4] http://www.example.org/~bjo-rn       (IRI in a finctional legacy 
                                          encoding where "-" maps to
                                          U+0308)

These identifiers should be interpreted as or converted to IRIs and then
converted (back to) URIs.

IRIs:

[1] http://www.example.org/~bjo<U+0308>rn
[2] http://www.example.org/~bjo<U+0308>rn
[3] http://www.example.org/~bjo%CC%88rn
[4] http://www.example.org/~bj<U+00F6>rn

URIs:

[1] http://www.example.org/~bjo%CC%88rn
[2] http://www.example.org/~bjo%CC%88rn
[3] http://www.example.org/~bjo%CC%88rn
[4] http://www.example.org/~bjo%C3%B6rn

Right?

Received on Monday, 28 April 2003 23:24:02 UTC