At 23:11 05/01/25, Julian Reschke wrote: > >Bjoern Hoehrmann wrote:

>> http://www.w3.org/TR/xslt#section-HTML-Output-Method
>>   The html output method should escape non-ASCII characters in URI
>>   attribute values using the method recommended in Section B.2.1 of
>>   the HTML 4.0 Recommendation.
>
>How does that help with IDNs?

There are two ways to look at this:

a) It doesn't, because B.2.1 was written before anybody knew much about IDNs.

b) It does, because rfc2396bis actually allows percent-encoding in
   the host name part, and defines what should happen with it.

In practice, it will work on most browsers and other software that
support IDNs, and it will not work on browsers,... that don't support IDNs.

However, there are some browsers (Mozilla and Safari) that support
IDNs but at least in some versions can't handle it if they are
percent-escaped.

Regards,    Martin.



Reply via email to