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 I only see strange characters in the image when trying to type á,é, etc.<br>I've applied it to current svn branches of olpc or trunk , maybe you'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="es_ES.UTF-8"<br>LC_NUMERIC="es_ES.UTF-8"<br>LC_TIME="es_ES.UTF-8"<br>LC_COLLATE="es_ES.UTF-8"<br>LC_MONETARY="es_ES.UTF-8"
<br>LC_MESSAGES="es_ES.UTF-8"<br>LC_PAPER="es_ES.UTF-8"<br>LC_NAME="es_ES.UTF-8"<br>LC_ADDRESS="es_ES.UTF-8"<br>LC_TELEPHONE="es_ES.UTF-8"<br>LC_MEASUREMENT="es_ES.UTF-8"
<br>LC_IDENTIFICATION="es_ES.UTF-8"<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 <<a href="mailto:alexander.serkov@gmail.com">alexander.serkov@gmail.com
</a>>:</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 "It works for me" 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 <<a href="mailto:danil.osipchuk@gmail.com">danil.osipchuk@gmail.com</a>> wrote:<br>
> Heh, the silence (I hope I don't look too inpatient - this topic is<br>> recurring for years now). Janko, let's face the fact that we are losers with<br>> a wrong vm-platform/language combinations :)<br>
> I suspect that OLPC team somehow addressed the issue (it is linux based,<br>> most probably utf-8 locale there). I also see UnixUTF8JPInputInterpreter<br>> class in the image - so japanese people also have a solution.
<br>><br>> I'm sure that we can do it also, at least by adopting the solution of Martin<br>> Kuball mentioned before (although I would prefer the approach taken in<br>> recent Mac and windows VMs - to add a unicode point code as the sixth field
<br>> of event buffer).<br>><br>> But I have another concern now. What will happen to the patch? Will it find<br>> its way to the core VM? Is the unix VM being maintained?<br>><br>> cheers,<br>> Danil
<br>><br>> 2008/1/16, Janko Mivšek < <a href="mailto:janko.mivsek@eranova.si">janko.mivsek@eranova.si</a>>:<br>> > I second Danil question. Is there anyone willing to dig into a that<br>> > problem? I am willing to help as much as I can, but I don't know VM nor
<br>> > Linux internals much. I jumped over C directly to Smalltalk, you know ...<br>> :)<br>> ><br>> > Janko<br>> ><br>> > danil osipchuk wrote:<br>> > > Hello, all.<br>> > >
<br>> > > Many modern linux distros now use utf-8 locale as a default setting.<br>> > > Also stock unix VM never seemed to handle unicode keyboard input under<br>> > > this locale. Are there any plans to do it properly or linux users are
<br>> > > supposed to fix the VM themselves (by beating heads against of this<br>> > > thread for example:<br>> > > <a href="http://www.nabble.com/Unix-UTF8-input-td11050488.html">http://www.nabble.com/Unix-UTF8-input-td11050488.html
</a><br>> )? May be anyone<br>> > > has got a 'proper' VM already - it is hard to believe that such drawback<br>> > > is not fixed long time ago.<br>> > ><br>> > > cheers,<br>
> > > Danil<br>> > ><br>> > ><br>> > ><br>> ------------------------------------------------------------------------<br>> > ><br>> > ><br>> ><br>> > --
<br>> > Janko Mivšek<br>> > AIDA/Web<br>> > Smalltalk Web Application Server<br>> > <a href="http://www.aidaweb.si">http://www.aidaweb.si</a><br>> ><br>> ><br>><br>><br>><br>>
<br>><br><br><br>--<br>Best regards Alexander Serkov<br><br><br><br><br></blockquote></div><br>