[Etoys] Squeak VM status concerning language encodings

Bert Freudenberg bert at freudenbergs.de
Mon Dec 3 07:49:25 EST 2007


On Dec 3, 2007, at 10:34 , birbilis wrote:

> Στις Παρ 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.
> 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" :(

As mentioned several times before, no, Etoys does not have greek  
glyphs in its fonts. This is a font problem, not an encoding problem.

- Bert -




More information about the Etoys mailing list