martin, i see the point and i appears to me that the "characters" language was intended to mean "octets" as you say.<div><br></div><div>does anyone else disagree?</div><div><br></div><div>v</div><div><br>
<br><div class="gmail_quote">On Tue, Sep 28, 2010 at 5:28 AM, "Martin J. Dürst" <span dir="ltr"><<a href="mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
In section 4.2, RFC 5890 says<br>
(<a href="http://tools.ietf.org/html/rfc5890#section-4.2" target="_blank">http://tools.ietf.org/html/rfc5890#section-4.2</a>):<br>
<br>
                     Because A-labels (the form actually used in the<br>
   DNS) are potentially much more compressed than UTF-8 (and UTF-8 is,<br>
   in general, more compressed that UTF-16 or UTF-32), U-labels that<br>
   obey all of the relevant symmetry (and other) constraints of these<br>
   documents may be quite a bit longer, potentially up to 252 characters<br>
   (Unicode code points).<br>
<br>
I'm not at all sure where the number of 252 characters is coming from. It does not at all match the justification given here. Punycode is a very clever encoding scheme, but it never compresses any character to less than a full ASCII character. So on this ground, it is impossible to squeeze more than 63 characters into a label.<br>

<br>
The number may have come from my mail entitled<br>
Re: Definitions limit on label length in UTF-8<br>
with date and message id<br>
Date: Sun, 13 Sep 2009 17:05:58 +0900<br>
Message-ID: <<a href="mailto:4AACA7E6.1070503@it.aoyama.ac.jp" target="_blank">4AACA7E6.1070503@it.aoyama.ac.jp</a>><br>
<br>
where 252 is indeed the largest number appearing, but considerations were very carefully done in *octets* throughout.<br>
<br>
So I think we should submit an erratum to fix this to 252 octets.<br>
<br>
Regards,    Martin.<br><font color="#888888">
<br>
-- <br>
#-# Martin J. Dürst, Professor, Aoyama Gakuin University<br>
#-# <a href="http://www.sw.it.aoyama.ac.jp" target="_blank">http://www.sw.it.aoyama.ac.jp</a>   mailto:<a href="mailto:duerst@it.aoyama.ac.jp" target="_blank">duerst@it.aoyama.ac.jp</a><br>
_______________________________________________<br>
Idna-update mailing list<br>
<a href="mailto:Idna-update@alvestrand.no" target="_blank">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>
</font></blockquote></div><br></div>