<div class="gmail_quote">On Tue, Sep 28, 2010 at 3:02 PM, Kenneth Whistler <span dir="ltr"><<a href="mailto:kenw@sybase.com">kenw@sybase.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Those are the minimum and maximum cases. For some more</div>
typical mix of characters from the BMP, the UTF-8 length<br>
will be >= 63 and <= 252 octets.<br></blockquote><div><br></div><div>Correct. (Or actually, with a "mix of characters from the BMP" you would get at most 189 UTF-8 bytes.)</div><div><br></div><div>However, Martin quoted the RFC as saying</div>
<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">  [...] 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).</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">How to 252 *Unicode code points* relate to the A-label length limit of 63 *octets* (where each is an ASCII letter or digit)?</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">(Aside from the xn-- prefix which reduces the label contents to 59 octets.)</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">markus</span></div></div>