[Etoys] Squeak VM status concerning language encodings
bert at freudenbergs.de
Thu Nov 29 10:01:39 EST 2007
On Nov 29, 2007, at 12:20 , birbilis wrote:
> Î£ÏÎ¹Ï Î ÎµÎ¼ 29 ÎÎ¿Îµ 2007, Î¿/Î· Chris Petsos ÎÎ³ÏÎ±ÏÎµ:
>>>> Hello to all. I would like to ask if there is utf8 support in the
>>>> Squeak VM
>>>> currently. I know that in the past only 8-bit encoding was
>>>> supported by the
>>>> virtual machine. Is it the same nowadays? I am considering the
>>>> addition of
>>>> the greek language which requires utf8 to be supported by the VM.
>>> UTF-8 is supported. The "etoys" script now runs the VM using the "-
>>> encoding UTF-8" option.
>> Nice...birbilis, why don't you try to open the image from "ellak"
>> the OLPC having the new UTF-8 enabled VM and see how it goes?
>> etoys_greek_supportCurrently, i don't remember if a have removed the
>> switches thatdifferentiate Windows and Unix behaviour, but it's worth
>> trying... Ifkeyboard input works correctly, then we are a big step
> Tried that, but when i switch k/b layout to greek and try to insert
> text in
> e.g. a textbox area, i only get non-sense symbols as if the squeak
> environment does not recognize utf8 greek symbols. Greek fonts in the
> greeding message appear just fine which means that the fonts are
When I copy "ÎµÎ»Î»Î·Î½Î¹ÎºÎ® Î³Î»ÏÏÏÎ±" from Firefox and paste
this into Squeak under Linux (using OLPC image and VM), the first
character is 16r3B5 which seems right (although, in my image it is
displayed as "??????? ???????"). I can't copy a WideString out of
And typing greek chars on the keyboard only works if running under
Sugar. We have no better way to test if we actually have a new VM. I
attached a CS that tries to do a better job - always use Unicode
keyboard input, but fall back to MacRoman if the unicode char is 0.
Let's see what Yoshiki thinks of this ...
- Bert -
-------------- nächster Teil --------------
Ein Dateianhang mit Binï¿½rdaten wurde abgetrennt...
Dateiname : unicodeFallback-bf.1.cs.gz
Dateityp : application/x-gzip
Dateigrï¿½ï¿½e : 1114 bytes
Beschreibung: nicht verfï¿½gbar
URL : http://lists.laptop.org/pipermail/etoys/attachments/20071129/1775ade1/attachment.bin
More information about the Etoys