Re: IdnaTest.txt and RFC 5893

From: Markus Scherer <>
Date: Wed, 4 Jan 2017 15:40:15 -0800

On Wed, Jan 4, 2017 at 2:28 AM, Alastair Houghton <> 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

Received on Wed Jan 04 2017 - 17:40:40 CST

This archive was generated by hypermail 2.2.0 : Wed Jan 04 2017 - 17:40:40 CST