Hi Alexander, I've applied your patch and it doesn't work. Now the image doesn't raise the error it did in the past (vm returned code -31 instead of 135 for 'á' when not using UTF or just ignored dead-keys when using it
<tt><font color="#737373"></font></tt>), but&nbsp; I only see strange characters in the image when trying to type á,é, etc.<br>I&#39;ve applied it to current svn branches of olpc or trunk , maybe you&#39;re using another revision/version. In that case, please, tell it which one you used.
<br><br>This is the output of my locales:<br><br>LANG=es_ES.UTF-8<br>LC_CTYPE=&quot;es_ES.UTF-8&quot;<br>LC_NUMERIC=&quot;es_ES.UTF-8&quot;<br>LC_TIME=&quot;es_ES.UTF-8&quot;<br>LC_COLLATE=&quot;es_ES.UTF-8&quot;<br>LC_MONETARY=&quot;es_ES.UTF-8&quot;
<br>LC_MESSAGES=&quot;es_ES.UTF-8&quot;<br>LC_PAPER=&quot;es_ES.UTF-8&quot;<br>LC_NAME=&quot;es_ES.UTF-8&quot;<br>LC_ADDRESS=&quot;es_ES.UTF-8&quot;<br>LC_TELEPHONE=&quot;es_ES.UTF-8&quot;<br>LC_MEASUREMENT=&quot;es_ES.UTF-8&quot;
<br>LC_IDENTIFICATION=&quot;es_ES.UTF-8&quot;<br>LC_ALL=es_ES.UTF-8<br><br>Best Regards.<br>José L.<br><br><br><div><span class="gmail_quote">2008/1/17, Alexander Serkov &lt;<a href="mailto:alexander.serkov@gmail.com">alexander.serkov@gmail.com
</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi folks!<br><br>I am quite new to squeak and smalltalk community,<br>so my solution is just of &quot;It works for me&quot; sort.
<br><br>Attached patch fixes utf-8 keyboard input,<br>while clipboard copy paste is still broken.<br><br>On 17/01/2008, danil osipchuk &lt;<a href="mailto:danil.osipchuk@gmail.com">danil.osipchuk@gmail.com</a>&gt; wrote:<br>
&gt; Heh, the silence (I hope I don&#39;t look too inpatient - this topic is<br>&gt; recurring for years now). Janko, let&#39;s face the fact that we are losers with<br>&gt; a wrong vm-platform/language combinations :)<br>
&gt; I suspect that OLPC team somehow addressed the issue (it is linux based,<br>&gt; most probably utf-8 locale there). I also see UnixUTF8JPInputInterpreter<br>&gt; class in the image - so japanese people also have a solution.
<br>&gt;<br>&gt; I&#39;m sure that we can do it also, at least by adopting the solution of Martin<br>&gt; Kuball mentioned before (although I would prefer the approach taken in<br>&gt; recent Mac and windows VMs - to add a unicode point code as the sixth field
<br>&gt; of event buffer).<br>&gt;<br>&gt; But I have another concern now. What will happen to the patch? Will it find<br>&gt; its way to the core VM? Is the unix VM being maintained?<br>&gt;<br>&gt; cheers,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Danil
<br>&gt;<br>&gt; 2008/1/16, Janko Mivšek &lt; <a href="mailto:janko.mivsek@eranova.si">janko.mivsek@eranova.si</a>&gt;:<br>&gt; &gt; I second Danil question. Is there anyone willing to dig into a that<br>&gt; &gt; problem? I am willing to help as much as I can, but I don&#39;t know VM nor
<br>&gt; &gt; Linux internals much. I jumped over C directly to Smalltalk, you know ...<br>&gt; :)<br>&gt; &gt;<br>&gt; &gt; Janko<br>&gt; &gt;<br>&gt; &gt; danil osipchuk wrote:<br>&gt; &gt; &gt; Hello, all.<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; Many modern linux distros now use utf-8 locale as a default setting.<br>&gt; &gt; &gt; Also stock unix VM never seemed to handle unicode keyboard input under<br>&gt; &gt; &gt; this locale. Are there any plans to do it properly or linux users are
<br>&gt; &gt; &gt; supposed to fix the VM themselves (by beating heads against of this<br>&gt; &gt; &gt; thread for example:<br>&gt; &gt; &gt; <a href="http://www.nabble.com/Unix-UTF8-input-td11050488.html">http://www.nabble.com/Unix-UTF8-input-td11050488.html
</a><br>&gt; )? May be anyone<br>&gt; &gt; &gt; has got a &#39;proper&#39; VM already - it is hard to believe that such drawback<br>&gt; &gt; &gt; is not fixed long time ago.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; cheers,<br>
&gt; &gt; &gt;&nbsp;&nbsp; Danil<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; ------------------------------------------------------------------------<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; --
<br>&gt; &gt; Janko Mivšek<br>&gt; &gt; AIDA/Web<br>&gt; &gt; Smalltalk Web Application Server<br>&gt; &gt; <a href="http://www.aidaweb.si">http://www.aidaweb.si</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;
<br>&gt;<br><br><br>--<br>Best regards Alexander Serkov<br><br><br><br><br></blockquote></div><br>