<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Class StringUtf8 is a bytes object (like ByteArray). It implements
    #byteSize, #byteAt:, #byteAt:put:. #at: is rather expensive. It
    doesn't support #at:put:. It has several iteration messages in
    CodePoints. Performance seems OK for reasonably small stuff.<br>
    <br>
    In any case, it is always possible to change the data structure, as
    long as it is polymorphic.<br>
    <br>
    I haven't used it for Smalltalk source code yet, only for stand
    alone editors. Parser would see instances of UnicodeCodePoint, maybe
    mixed with Characters (for code points that fit in a Cuis
    Character).<br>
    <br>
    So far this is experimental, so we can adapt it while we learn the
    details of what we need.<br>
    <br>
    On 4/29/2022 6:24 PM, Luciano Notarfrancesco via Cuis-dev wrote:
    <blockquote
cite="mid:CAL5GDyoG2fKYDahF614EFr1j5RA9MJuF8ZOJJBZKg3gFgVNC4g@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      <div>How do you represent strings? You’re avoiding random access
        like #at:? The parser can read them and see unicode characters
        instead of byte characters?</div>
      <div><br>
        <div>
          <div>On Thu, 28 Apr 2022 at 1:35 AM Juan Vuletich via Cuis-dev
            <<a moz-do-not-send="true"
              href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>>
            wrote:<br>
          </div>
          <blockquote>Hi Folks,<br>
            <br>
            I've been working on making Cuis text editors work well with
            UTF-8 <br>
            Unicode contents. It is not ready, but you can see how it
            goes in the <br>
            attach,<br>
            <br>
            Cheers,<br>
            <br>
            -- <br>
            Juan Vuletich<br>
            <a moz-do-not-send="true"
              href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a><br>
            <a moz-do-not-send="true"
              href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a><br>
            <a moz-do-not-send="true"
              href="https://github.com/jvuletich">https://github.com/jvuletich</a><br>
            <a moz-do-not-send="true"
              href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a><br>
            <a moz-do-not-send="true"
              href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a><br>
            <a moz-do-not-send="true"
              href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a><br>
            <a moz-do-not-send="true"
              href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a><br>
            <a moz-do-not-send="true"
              href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a><br>
            <br>
            -- <br>
            Cuis-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Cuis-dev@lists.cuis.st">Cuis-dev@lists.cuis.st</a><br>
            <a moz-do-not-send="true"
              href="https://lists.cuis.st/mailman/listinfo/cuis-dev">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
<a class="moz-txt-link-freetext" href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre>
  </body>
</html>