An attempt to support Czech language

Pavel Krivanek squeak1 at continentalbrno.cz
Thu Jan 20 20:04:06 UTC 2005


Success, the correct command is:

env LC_ALL=cs_CZ squeak -encoding 8859-2 *.image

Manual pages offer wrong format "ISO-8859-2". Now keyboard works well. Thank
you very much.

Pavel

-----Original Message-----
From: squeak-dev-bounces at lists.squeakfoundation.org
[mailto:squeak-dev-bounces at lists.squeakfoundation.org] On Behalf Of Ned Konz
Sent: Thursday, January 20, 2005 12:09 AM
To: The general-purpose Squeak developers list
Subject: Re: An attempt to support Czech language

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