[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 -
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1114 bytes
Desc: not available
Url : http://lists.squeakland.org/pipermail/etoys-dev/attachments/20071129/1775ade1/unicodeFallback-bf.1.cs.gz
More information about the etoys-dev