Creating an IRI from a Unicode String

With reference to Arc [1-2] in Figure A–1, a Unicode string is converted to an IRI by percent-encoding each ASCII character that does not belong to the set of reserved or unreserved characters as defined in RFC 3986.