<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Yes, bidi is hard but fascinating. <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">From my work with text stacks, my understanding is that the assumption that something that is rtl.rtl.ltr has a predetermined rendering order is incorrect. It really will depend upon what is seen as the first strongly typed character in
 the first domain name. The Arabic/Hebrew/N’ko scripts all have an RTL script order within the RTL text direction for each language. Arabic and Hebrew both have characters commonly used (Unicode common) that the BiDi algorithm is required to treat as strongly
 typed LRT script order. Because of that, I doubt it’s enough to specify just the text direction for each element.<o:p></o:p></p>
<p class="MsoNormal"><a name="_MailEndCompose"><o:p>&nbsp;</o:p></a></p>
<span style="mso-bookmark:_MailEndCompose"></span>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> ua-discuss-bounces@icann.org [mailto:ua-discuss-bounces@icann.org]
<b>On Behalf Of </b>Richard Merdinger<br>
<b>Sent:</b> Wednesday, August 9, 2017 1:31 PM<br>
<b>To:</b> Andrew Sullivan &lt;ajs@anvilwalrusden.com&gt;; ua-discuss@icann.org<br>
<b>Subject:</b> Re: [UA-discuss] Programming Language Hacks - UA103<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Makes sense to me; I like mentioning the major-use writing system to make the point, but it also makes it clear that it is broader than a single case.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">--Rich<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Richard Merdinger<o:p></o:p></p>
<p class="MsoNormal">VP, Domains - GoDaddy<o:p></o:p></p>
<p class="MsoNormal"><u><a href="mailto:rmerdinger@godaddy.com"><span style="color:#0563C1">rmerdinger@godaddy.com</span></a></u><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">&lt;<a href="mailto:ua-discuss-bounces@icann.org">ua-discuss-bounces@icann.org</a>&gt; on behalf of Andrew Sullivan &lt;<a href="mailto:ajs@anvilwalrusden.com">ajs@anvilwalrusden.com</a>&gt;<br>
<b>Date: </b>Wednesday, August 9, 2017 at 3:19 PM<br>
<b>To: </b>&quot;<a href="mailto:ua-discuss@icann.org">ua-discuss@icann.org</a>&quot; &lt;<a href="mailto:ua-discuss@icann.org">ua-discuss@icann.org</a>&gt;<br>
<b>Subject: </b>Re: [UA-discuss] Programming Language Hacks - UA103<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">On Wed, Aug 09, 2017 at 04:13:35PM &#43;0000, Mark Svancarek via UA-discuss wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE">
<div>
<p class="MsoNormal" style="margin-left:.5in">Actually, we recently discovered an Edge bug (via the browser review) where the order of labels in a RTL.RTL.ASCII domain name were transposed during rendering.&nbsp;&nbsp;So I like calling it out explicitly.<o:p></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">This has been a regularly-recurring bug in various rendering engines<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">since at least 2008, because I recall the demonstrations of it during<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">the idnabis WG, and then seeing it in a completely different context<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">during the VIP work for ICANN in 2011 or '12.&nbsp;&nbsp;It's not always only<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Arabic: at least one of the examples was reproducible in any bidi<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">context.&nbsp;&nbsp;I seem to recall one example where the wire order<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">&nbsp;&nbsp;&nbsp;&nbsp;[firstlabel]RTL[secondlabel]RTL[thirdlabel]LTR[fourthlabel]NULL<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">got rendered as<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">&nbsp;&nbsp;&nbsp;&nbsp;RTL.LTR.RTL<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Which I thought was a pretty cool bug.&nbsp;&nbsp;I have no idea how it happened<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">that way, though I recall walking mysef through the bidi algorithm at<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">the time and figuring out what the problem must have been.&nbsp;&nbsp;Bidi is<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">hard.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">I therefore think it wise not to call out Arabic especially -- but<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">maybe point out that Arabic is perhaps the most prominent writing<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">system that uses RTL, so that programmers aren't tempted to dismiss<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">the problem as a &quot;corner case&quot;.&nbsp;&nbsp;Big corner, the Arabic-using<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">population!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Best regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">A<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">-- <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Andrew Sullivan<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><a href="mailto:ajs@anvilwalrusden.com">ajs@anvilwalrusden.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>