[Etoys] Squeak VM status concerning language encodings

birbilis birbilis at gmail.com
Mon Dec 3 04:34:29 EST 2007


Στις Παρ 30 Νοε 2007, ο/η Chris Petsos έγραψε:
> >  The OLPC branch should be better,
>
> Yes, i agree on that...Really? Has anyone from the greek team tested the
> olpc image and VM? Since i was away for a while, it looks like now utf-8
> input comes "out of the box" for eToys, so it doesn't seem to be needing
> any effort from our side.
>
> >  Bert said that when he set the
> > keyboard on XO to greek keyboard, normal character input works, but
> > key strokes with modifier keys (like Alt-) reports a greek character
> > with modifier bits, so when you would like to do Alt-b (for example)
> > it comes as Alt-beta and Squeak's command key mapping cannot handle
> > it.
>
> Yes, that was the problem with multi-byte utf-8 characters. How can one map
> a unicode code-point to a shortcut since the app can react only to simple
> one-byte modidied characters. My workaround was a bit naive but can suffice
> if nothing else can be done. I had mapped all the greek unicode characters
> to their equivelant latin ones that squeak is expecting as a shortcut if a
> modifier key is pressed. So, every time the user presses alt+"beta" the
> charcode send is actually alt+"b" and the shortcut is executed correctly..
> It is a job done inside the greek InpuInterpreter...
>
> Chris.
>
> _______________________________________________
> Etoys mailing list
> Etoys at lists.laptop.org
> http://lists.laptop.org/listinfo/etoys

I upgrated to latest sugar-jbuild and i greek layout works in activities like 
abiword of konsole, but under etoys i only get ????? when i try to insert 
greek uft8 chars. So i guess the utf8 support of squeak does not work "out of 
the box" :(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.laptop.org/pipermail/etoys/attachments/20071203/29582961/attachment.pgp 


More information about the Etoys mailing list