Is it just me (having just browsed through that), or is the new prohibited table looking strange? It starts with:
0000-0020 007F 0080-009F so a bunch of ASCII characters are not prohibited anymore. For instance, the name $$$.com is now allowed. It may be that one expects IDN applications to do more checks than just Nameprep (for example, check for non-ASCII characters first), but then why bother with the 0000-0020 and 007F, right? Anyway, with this, a simple implementation of IDN that relies on the Nameprep tables only to determine whether a label can be encoded or not, will allow $$$.com, which isn't changed at all by Punycode. YA gabier% ./npdiff -u --name nameprep-06 --name nameprep-07 --- /tmp/npdiff.1716.1 Wed Feb 6 13:37:54 2002 +++ /tmp/npdiff.1716.2 Wed Feb 6 13:37:55 2002 @@ -1367,11 +1367,8 @@ ----- End Mapping Table ----- ----- Start Prohibited Table ----- -0000-002C -002E-002F -003A-0040 -005B-0060 -007B-00A0 +0000-0020 +007F-00A0 070F 1680 180E gabier% In the following, all the characters starting with a - have been removed from the prohibited table, and are thus allowed by Nameprep. gabier% ./npdiff -u --name nameprep-06 --name nameprep-07 --char-names --- /tmp/npdiff.1784.1 Wed Feb 6 13:39:12 2002 +++ /tmp/npdiff.1784.2 Wed Feb 6 13:39:23 2002 @@ -1400,37 +1400,6 @@ 001E 001F 0020 SPACE -0021 EXCLAMATION MARK -0022 QUOTATION MARK -0023 NUMBER SIGN -0024 DOLLAR SIGN -0025 PERCENT SIGN -0026 AMPERSAND -0027 APOSTROPHE -0028 LEFT PARENTHESIS -0029 RIGHT PARENTHESIS -002A ASTERISK -002B PLUS SIGN -002C COMMA -002E FULL STOP -002F SOLIDUS -003A COLON -003B SEMICOLON -003C LESS-THAN SIGN -003D EQUALS SIGN -003E GREATER-THAN SIGN -003F QUESTION MARK -0040 COMMERCIAL AT -005B LEFT SQUARE BRACKET -005C REVERSE SOLIDUS -005D RIGHT SQUARE BRACKET -005E CIRCUMFLEX ACCENT -005F LOW LINE -0060 GRAVE ACCENT -007B LEFT CURLY BRACKET -007C VERTICAL LINE -007D RIGHT CURLY BRACKET -007E TILDE 007F 0080 0081 gabier%
