<!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">
Hi Luciano,<br>
<br>
On 8/6/2022 5:00 AM, Luciano Notarfrancesco via Cuis-dev wrote:
<blockquote
cite="mid:CAL5GDyqpsVS3GN3+NidFLED_YvjtXv3Q6yrES7DnU20ZMakAKA@mail.gmail.com"
type="cite">
<div dir="auto">Hi Juan,</div>
<div dir="auto">I started using UTF-8 in my math project. I was
surprised that I didn’t have to search and replace the special
characters that we were using before Unicode support… I just
filed-in my packages and then filed-out as UTF-8 without doing
anything special. Tests pass, everything seems to be working
fine. Thank you!</div>
</blockquote>
<br>
Nice to know! BTW, you're using World / Preferences / Use Unicode
text, right?<br>
<br>
<blockquote
cite="mid:CAL5GDyqpsVS3GN3+NidFLED_YvjtXv3Q6yrES7DnU20ZMakAKA@mail.gmail.com"
type="cite">
<div dir="auto">One minor problem that I ran into is that now we
cannot concatenate strings with Text. In some printOns I was
doing something like ‘<span style="font-family: sans-serif;
font-size: 14px; color: rgb(32, 33, 34);">ζ’, ‘0’ sub but now
I have to do</span><span style="border-color: rgb(0, 0, 0);
color: rgb(0, 0, 0);"> ‘</span><span style="font-family:
sans-serif; font-size: 14px; border-color: rgb(32, 33, 34);
color: rgb(32, 33, 34);">ζ’ asText, ‘0’ sub. Not sure if this
change was intentional, but it is reasonable to me, no need to
“fix” it.</span></div>
</blockquote>
<br>
We're in sync! I went on to play with this stuff on Thursday and
found this bug. Pushed the fix yesterday.<br>
<br>
<blockquote
cite="mid:CAL5GDyqpsVS3GN3+NidFLED_YvjtXv3Q6yrES7DnU20ZMakAKA@mail.gmail.com"
type="cite">
<div dir="auto"><span style="font-family: sans-serif; font-size:
14px; border-color: rgb(32, 33, 34); color: rgb(32, 33, 34);">Also,
look at the method Character>>#namedCharactersTable. Why
is that the arrows are shown as null glyphs? I’ll later update
this method with all Greek letters and some other useful
symbols.</span></div>
</blockquote>
<br>
Yes. When I did the auto convertion of invalid UTF-8 (i.e. non-ascii
Characters) I forgot about the arrows (they are in the valid ASCII
range: 28, 29, 30, 31). Just pushed a fix for them.<br>
<br>
BTW, this also makes me thing that the extended-ascii Characters are
no longer needed, and they add unneeded complexity. When we move
Cuis to use UTF-8 by default, we could make String and Character be
only pure ascii (using just 7 bits). This will make conversions
easier and faster. In a couple of months, I guess.<br>
<br>
Thanks for using this! Please report any bugs or annoyances you see,
so we can keep polishing it.<br>
<br>
Oh, one detail to keep in mind: Given that by default Cuis still
uses the 8 bit encoding in code files, any changes to
#namedCharactersTable or similar can not be added to the update
stream and the base image yet. A good reason to migrate everything
to UTF-8.<br>
<br>
Cheers,<br>
<br>
<blockquote
cite="mid:CAL5GDyqpsVS3GN3+NidFLED_YvjtXv3Q6yrES7DnU20ZMakAKA@mail.gmail.com"
type="cite">
<div dir="auto"><span style="font-family: sans-serif; font-size:
14px; border-color: rgb(32, 33, 34); color: rgb(32, 33, 34);"><br>
</span></div>
<div dir="auto"><span style="font-family: sans-serif; font-size:
14px; border-color: rgb(32, 33, 34); color: rgb(32, 33, 34);">Thanks!</span></div>
<div dir="auto"><span style="font-family: sans-serif; font-size:
14px; border-color: rgb(32, 33, 34); color: rgb(32, 33, 34);">Luciano</span></div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 8 Jul 2022 at 02:56
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 class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi Folks,<br>
<br>
I've just pushed the updates needed to enable UTF-8 Unicode
in editors, <br>
files and source code. This means that letters in any
alphabet can be <br>
used in identifiers (variable and class names, selectors),
literals, <br>
etc. Additionally, any math symbol in Unicode can be used in
binary <br>
selectors.<br>
<br>
Updating your image should not involve risk, as it is not
activated by <br>
default. This means that editors still edit String using
Character, and <br>
code is saved in StandardFileStream.<br>
<br>
But the new code is very new, and hasn't been used for long.
So, please <br>
play with it in throw-away images, where losing stuff is not
a problem. <br>
To activate it, evaluate `TextModel useUtf8Editors`.<br>
<br>
Please share your experience, and report any bugs or
problems you find.<br>
<br>
Enjoy!<br>
<br>
-- <br>
Juan Vuletich<br>
<a moz-do-not-send="true"
href="http://www.cuis-smalltalk.org" rel="noreferrer"
target="_blank">www.cuis-smalltalk.org</a><br>
<a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev"
rel="noreferrer" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a><br>
<a moz-do-not-send="true"
href="https://github.com/jvuletich" rel="noreferrer"
target="_blank">https://github.com/jvuletich</a><br>
<a moz-do-not-send="true"
href="https://www.linkedin.com/in/juan-vuletich-75611b3"
rel="noreferrer" target="_blank">https://www.linkedin.com/in/juan-vuletich-75611b3</a><br>
<a moz-do-not-send="true"
href="https://independent.academia.edu/JuanVuletich"
rel="noreferrer" target="_blank">https://independent.academia.edu/JuanVuletich</a><br>
<a moz-do-not-send="true"
href="https://www.researchgate.net/profile/Juan-Vuletich"
rel="noreferrer" target="_blank">https://www.researchgate.net/profile/Juan-Vuletich</a><br>
<a moz-do-not-send="true"
href="https://patents.justia.com/inventor/juan-manuel-vuletich"
rel="noreferrer" target="_blank">https://patents.justia.com/inventor/juan-manuel-vuletich</a><br>
<a moz-do-not-send="true"
href="https://twitter.com/JuanVuletich" rel="noreferrer"
target="_blank">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" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a moz-do-not-send="true"
href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>