<br><br><div class="gmail_quote">On Tue, Aug 18, 2009 at 9:12 AM, Yoshiki Ohshima <span dir="ltr">&lt;<a href="mailto:yoshiki@vpri.org">yoshiki@vpri.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
At Fri, 14 Aug 2009 23:18:11 +0200,<br>
Michal Perutka wrote:<br>
&gt;<br>
&gt; So, in EventSensor&gt;&gt;processKeyboardEvent: I inserted a line<br>
&gt; Transcript show: evt asString; show: String cr.<br>
&gt; (or I can insert that line in ISO88592InputInterpreter&gt;&gt;nextCharFrom:firstEvt:, the result is the same)<br>
&gt;<br>
&gt; Then, when I type ? (=225), I get<br>
&gt; #(2 2841355 225 1 0 225 0 0)<br>
&gt; #(2 2841355 225 0 0 225 0 0)<br>
&gt; #(2 2841506 225 2 0 225 0 0)<br>
&gt;<br>
&gt; When I type acute accent key and then a (=97), first I get<br>
&gt; #(2 2862057 180 2 0 0 0 0)<br>
&gt;<br>
&gt; then<br>
&gt; #(2 2872015 97 1 0 97 0 0)<br>
&gt; #(2 2872015 97 0 0 97 0 0)<br>
&gt; #(2 2872015 769 1 0 769 0 0)<br>
&gt; #(2 2872015 769 0 0 769 0 0)<br>
&gt; #(2 2872191 97 2 0 97 0 0)<br>
&gt;<br>
&gt; and as result I get a?, not ?<br>
<br>
  The VM appears to be sending the base character and the compostion<br>
accent character.  Which itself is correct but the image side has to<br>
do something.<br>
<font color="#888888"></font></blockquote><div><br><br>Assuming the Unicode characters 97 (&quot;a&quot;) followed by 301 (composing &#39;) in a String, should the correct behaviour be to consider this one character or two? <br>
</div></div><br>Given the String &#39;xxa&#39;xx&#39; (where &quot;a&quot; is Unicode #97 and the middle &#39; is Unicode #301), would &quot;String at: 3&quot; return a single composed character or uncomposed character?<br clear="all">
<br>Or should Unicode-able Strings not be indexable at all to completely circumvent issues like this?<br><br>Gulik<br><br>-- <br><a href="http://gulik.pbwiki.com/">http://gulik.pbwiki.com/</a><br>