IDN aware tools to encode/decode human readable IRI to/from valid URI
- by Denis Otkidach
Let's assume a user enter address of some resource and we need to translate it to:
<a href="valid URI here">human readable form</a>
HTML4 specification refers to RFC 3986 which allows only ASCII alphanumeric characters and dash in host part and all non-ASCII character in other parts should be percent-encoded. That's what I want to…