<font face="georgia,serif">That looks like a bug, I'll check it out.</font><div><font face="georgia,serif"><br></font></div><div><font face="georgia,serif">The ideographic period is allowed under IDNA2003, but should be mapping to ".". (Also, in the next revision, there will be a field that indicates that the input isn't allowed under IDNA2008, so that people can distinguish them.</font></div>
<div><font face="georgia,serif"><br clear="all"></font><font face="georgia, serif">Mark<br><br><i>— Il meglio è l’inimico del bene —</i></font><br>
<br><br><div class="gmail_quote">On Tue, Mar 29, 2011 at 08:33, Simon Josefsson <span dir="ltr"><<a href="mailto:simon@josefsson.org">simon@josefsson.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Mark,<br>
<br>
I'm happy to report that libidn2 handles 116 of the positive test<br>
vectors in <a href="http://www.unicode.org/Public/idna/6.0.1/IdnaTest.txt" target="_blank">http://www.unicode.org/Public/idna/6.0.1/IdnaTest.txt</a> dated<br>
29-dec-2010 with SHA-1 2fb11ede408fe7ab3e1c3b071d8c9c3f0de0d1fc.<br>
<br>
Testing all negative test vectors (i.e., test vectors that fail) is more<br>
cumbersome but I'll try to figure something out.<br>
<br>
I'm now going through the remaining positive test vectors that failed<br>
for some reason, and one of them that cought my eye is below.<br>
<br>
Line 2387 of IdnaTest.txt reads:<br>
<br>
B;      。;      ;       ;<br>
<br>
To me this means that the source input is U+3002, ToUnicode output is<br>
U+3002, and ToASCII output is U+3002.  It seems weird that the ToASCII<br>
output is a Unicode string and not an ACE string?!<br>
<br>
According to RFC 5892 that code point is disallowed:<br>
<br>
3000..3004  ; DISALLOWED  # IDEOGRAPHIC SPACE..JAPANESE INDUSTRIAL STAND<br>
<br>
Is this a bug in IdnaTest.txt?<br>
<br>
Cheers,<br>
<div><div></div><div class="h5">/Simon<br>
_______________________________________________<br>
Idna-update mailing list<br>
<a href="mailto:Idna-update@alvestrand.no">Idna-update@alvestrand.no</a><br>
<a href="http://www.alvestrand.no/mailman/listinfo/idna-update" target="_blank">http://www.alvestrand.no/mailman/listinfo/idna-update</a><br>
</div></div></blockquote></div><br></div>