<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">Hi, <br>
</font></p>
<p><font size="4">This is a strange situation.</font></p>
<p><font size="4">In Cuis when I key in 'sûr' (remember I have an US
international key in method, I have to strike ^ then u), this
unicode string is composed with the bytes: #[115 117 204 130
114]</font></p>
<p><font size="4">Now when I copy the one from the email in the Cuis
Workspace and inspect it, it is an unicode string with the
bytes: #[115 195 187 114]</font></p>
<p><font size="4">it looks like in the former one there is a
composition between two different character (u=117 and ^) and in
the former one it is just the encoding of one character (û).</font></p>
<p><font size="4">This is just guessing.</font></p>
<p><font size="4">Hilaire</font><br>
</p>
<div class="moz-cite-prefix">Le 22/02/2023 à 00:48, Ignacio
Sniechowski a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAMCzT-Zg6zesNDXP+N=ohRvVGcaQZRcNXWDO3=yaAUgtf0QCHw@mail.gmail.com">
<div class="gmail_default"
style="font-family:monospace;font-size:large">Thanks for
answering my questions:</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">If you print:</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">'sûr' at: 3. you
get $r as expected. </div>
<div class="gmail_default"
style="font-family:monospace;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">Now if you print:</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">'sûr' at: 2 put:
$o.<br>
</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">You get Error:
Instances of UnicodeString are not indexable.</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">I think that
probably Cuis does not take strings as UnicodeString by default.</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">If you print</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">'sûr' class <br>
</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">You get
UnicodeString</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">but if you print</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">'hello' class</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">You get String</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">I think that could
be the issue.</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">I will check with
the VM options to see the shortcut and yes, I'm on a mac.</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">Thanks!</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large">Nacho</div>
<div class="gmail_default"
style="font-family:monospace;font-size:large"><br>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>