IdnaTest.txt and RFC 5893
markus.icu at gmail.com
Thu Jan 5 00:40:15 CET 2017
On Wed, Jan 4, 2017 at 2:28 AM, Alastair Houghton <
alastair at alastairs-place.net> wrote:
> RFC 5893 seems pretty clear to me, and the problem really is that the test
> vectors (which come from unicode.org) seem (to me) to be incorrect.
https://tools.ietf.org/html/rfc5893#section-2 says "*The following rule*,
consisting of six conditions, *applies to labels* in Bidi domain names."
That's what the ICU code does -- applying the rule to each label -- and I
assume that's the basis for the test data.
The latter part of this RFC section says that *if* certain conditions are
met *for all labels, then* the domain name as a whole displays well.
ICU does not currently check for multi-label bidi combinations.
FYI the ICU checkLabelBiDi() code is currently here
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Idna-update