<div dir="ltr"><div>I think the example, properly quoted, would be useful - if only for non implementers reading the standard.</div><div><br></div><div>Thanks,</div><div>Corentin</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 25, 2022 at 4:57 PM Victor Zverovich &lt;<a href="mailto:victor.zverovich@gmail.com">victor.zverovich@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Intentional or not but it is completely wrong because the output is e&quot;\u{301}&quot; not e\u{301} (outer quotes omitted for clarity). Implementations don&#39;t need to do anything special here. Same with the new example you provided.<div><br></div><div>- Victor</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 25, 2022 at 6:59 AM Tom Honermann &lt;<a href="mailto:tom@honermann.net" target="_blank">tom@honermann.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <div>On 11/24/22 12:16 PM, Victor Zverovich
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">As promised here&#39;s a paper with the wording for the
        approved escaping changes: <a href="https://isocpp.org/files/papers/P2713R0.html" target="_blank">https://isocpp.org/files/papers/P2713R0.html</a>.
        <div><br>
        </div>
        <div>Note that one example in <a href="https://github.com/cplusplus/nbballot/issues/515" target="_blank">https://github.com/cplusplus/nbballot/issues/515</a>
          (the one that uses s8) is incorrect so I didn&#39;t include it.</div>
      </div>
    </blockquote>
    <p>That example was intentional. The example is:</p>
    <p><font face="monospace">    string s8 = format(&quot;e{:?}&quot;,
        &quot;\u0301&quot;);       // s8 has value &quot;e\u{301}&quot;<br>
                                                         // (the
        combining character is escaped since it does<br>
                                                         // not follow a
        non-escaped non-combining character<br>
                                                         // produced
        from the same field)</font></p>
    <p>The formatted field argument begins with a combining character. I
      wrote this example with the assumption that we don&#39;t want to
      require implementations to have to be aware of characters from
      outside of the field content to be formatted as that seems like it
      would introduce additional complexity that is not required today;
      please correct me if I&#39;m mistaken.</p>
    <p>A similar example follows. We certainly wouldn&#39;t want the
      combining character from the field to combine with the escaped tab
      character sequence in this case.<br>
    </p>
    <p><font face="monospace">    string s9 = format(&quot;\t{:?}&quot;,
        &quot;\u0301&quot;);      // s9 has value &quot;\t\u{301}&quot;<br>
                                                         // (the
        combining character is escaped since it does<br>
                                                         // not follow a
        non-escaped non-combining character<br>
                                                         // produced
        from the same field)</font></p>
    <p>Tom.<br>
    </p>
    <blockquote type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Cheers,</div>
        <div>Victor</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, Nov 11, 2022 at 6:20
          PM Bryce Adelstein Lelbach aka wash &lt;<a href="mailto:brycelelbach@gmail.com" target="_blank">brycelelbach@gmail.com</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div style="font-family:&quot;trebuchet ms&quot;,sans-serif">Please
              email me when you have it.</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Fri, Nov 11, 2022 at
              1:58 PM Victor Zverovich &lt;<a href="mailto:victor.zverovich@gmail.com" target="_blank">victor.zverovich@gmail.com</a>&gt;
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">
                <div>&gt; Can you have it available for our November
                  30th meeting (that I still need to create a calendar
                  entry for)?<br>
                  <br>
                  Sure.</div>
                <div><br>
                </div>
                <div>- Victor</div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Fri, Nov 11, 2022
                  at 1:56 PM Tom Honermann &lt;<a href="mailto:tom@honermann.net" target="_blank">tom@honermann.net</a>&gt;
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                  <div>
                    <p>Can you have it available for our November 30th
                      meeting (that I still need to create a calendar
                      entry for)?<br>
                    </p>
                    <p>Tom.<br>
                    </p>
                    <div>On 11/11/22 6:54 PM, Victor Zverovich via
                      Lib-Ext wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">I am putting together a paper but
                        it won&#39;t be ready today and probably needs to be
                        looked at by SG16 to check the wording.
                        <div><br>
                        </div>
                        <div>- Victor</div>
                      </div>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr" class="gmail_attr">On Fri, Nov
                          11, 2022 at 1:48 PM Corentin &lt;<a href="mailto:corentin.jabot@gmail.com" target="_blank">corentin.jabot@gmail.com</a>&gt;
                          wrote:<br>
                        </div>
                        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                          <div dir="auto">I think Victor is working on
                            it, I&#39;m happy to co author.</div>
                          <br>
                          <div class="gmail_quote">
                            <div dir="ltr" class="gmail_attr">On Fri,
                              Nov 11, 2022, 13:44 Bryce Adelstein
                              Lelbach aka wash &lt;<a href="mailto:brycelelbach@gmail.com" target="_blank">brycelelbach@gmail.com</a>&gt;
                              wrote:<br>
                            </div>
                            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                              <div dir="ltr">
                                <div>We voted to
                                  resolve format escaping NB comments
                                  US-38-098 and FR-005-134 at the
                                  2022-11 Kona meeting in both SG16 and
                                  Library Evolution.</div>
                                <div><br>
                                  However, the resolution we voted on is
                                  not as simple as &quot;adopt the proposed
                                  resolution in the comments&quot;. It took
                                  me 10 minutes of reading minutes and
                                  poll results to determine what exactly
                                  we had approved.</div>
                                <div><br>
                                </div>
                                <div>Therefore,
                                  I&#39;m going to need a short paper that
                                  resolves these NB comments for the
                                  Library Evolution electronic poll. It
                                  should have a brief overview and
                                  motivation (I&#39;m not looking for much
                                  there) and the specific wording that
                                  resolves these NB comments.</div>
                                <div><br>
                                  Ideally, I&#39;d get the paper today, or
                                  at least by 2022-11-14 so that it can
                                  be included in the post meeting
                                  Library Evolution polls. At the
                                  latest, I&#39;d need it by 2023-01-01.</div>
                                <div><br>
                                </div>
                                -- <br>
                                <div dir="ltr">
                                  <div dir="ltr">Bryce Adelstein Lelbach
                                    aka wash (he/him/his)<br>
                                    US Programming Language Standards
                                    Chair<br>
                                    ISO C++ Library Evolution Chair
                                    <div>Principal Architect @ NVIDIA<br>
                                      --</div>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                      <fieldset></fieldset>
                      <pre>_______________________________________________
Lib-Ext mailing list
<a href="mailto:Lib-Ext@lists.isocpp.org" target="_blank">Lib-Ext@lists.isocpp.org</a>
Subscription: <a href="https://lists.isocpp.org/mailman/listinfo.cgi/lib-ext" target="_blank">https://lists.isocpp.org/mailman/listinfo.cgi/lib-ext</a>
Link to this post: <a href="http://lists.isocpp.org/lib-ext/2022/11/24215.php" target="_blank">http://lists.isocpp.org/lib-ext/2022/11/24215.php</a>
</pre>
                    </blockquote>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr">
            <div dir="ltr">Bryce Adelstein Lelbach aka wash (he/him/his)<br>
              US Programming Language Standards Chair<br>
              ISO C++ Library Evolution Chair
              <div>Principal Architect @ NVIDIA<br>
                --</div>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </div>

</blockquote></div>
</blockquote></div></div>

