At the very least, common-policy ought to point out which comparison is
being done. I would assume that since these are being used as
identifiers, that section 5.3.1 is the section that is relevant here.
And it might be that I'm just not smart enough to understand something
as trivial as internationalized character comparison, but what happens
with punycode encoded domain names? As the example from that RFC: if I
receive it as domain="xn--99zt52a", do I convert it to
domain="納豆" for the comparison? As the RFC states:
Implementations with scheme-specific knowledge MAY convert
punycode-encoded domain name labels to the corresponding characters
by using the ToUnicode procedure.
Again, I'm not an expert, but shouldn't something specify what is to
happen here for doing this identity comparison?
-andy