IdnaTest.txt and RFC 5893

Markus Scherer at
Wed Jan 4 17:40:15 CST 2017

On Wed, Jan 4, 2017 at 2:28 AM, Alastair Houghton <
alastair at> wrote:

> RFC 5893 seems pretty clear to me, and the problem really is that the test
> vectors (which come from seem (to me) to be incorrect. 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...
URL: <>

More information about the Unicode mailing list