An attempt to support Czech language

Ned Konz ned at squeakland.org
Wed Jan 19 23:08:59 UTC 2005


On Wednesday 19 January 2005 2:32 pm, Pavel Krivanek wrote:
> I tested it last week with this result:
> - Squeak supports no encoding used in the Czech Rep.
> - When I have used LC_ALL, the key-codes were duplicitous for some
> characters

What encodings do you need?

What are your normal settings for LC_ALL and/or LC_CTYPE?

Do you have other Linux programs working properly?

If you have iconv loaded (you should have it), do you see your encodings when 
you go:

 iconv -l

The reason I ask is that there is another possibility: that is, to tell Squeak 
to pass the received characters up with no translation and deal with it in 
the image.

That would be equivalent to (assuming that MYENC is your desired native 
encoding):

 LC_CTYPE=MYENC SQUEAK_PATHENC=MYENC SQUEAK_TEXTENC=MYENC 
SQUEAK_ENCODING=MYENC squeak

which *should* pass all the characters through untouched (as I recall; I 
haven't played with this recently). You'll then have to convert them in the 
image as desired.

Or you could have them converted to UTF-8 (again, you'll need to deal with 
this on input so they aren't assumed to be in MacRoman when they come up from 
the VM):

 LC_CTYPE=MYENC SQUEAK_PATHENC=MYENC SQUEAK_TEXTENC=MYENC 
SQUEAK_ENCODING=UTF-8 squeak

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list