umlaute in squeak?
bert at impara.de
Sun Sep 26 18:18:09 UTC 2004
Yep, there are still some open ends in m17n, mostly VM related. For
example, cut and paste from external sources shredders umlauts (tested
on Win and Mac), and file names in the file list do not look right
(although, on the Mac at least they can still be accessed).
- Bert -
Am 26.09.2004 um 19:26 schrieb Martin Kuball:
> After some digging in the source code I found the problem. I'm using a
> utf8 locale and that produces 2 byte characters for the special
> german characters. But the vm uses only the 1st byte. This explains
> why I always see the same character for different umlaut characters.
> They always have the same 1st byte and differ only in the 2nd byte.
> I will try to work out a solution (other than changing the locale,
> because I think it should work out of the box in as many environments
> as possible)
> Am Monday 20 September 2004 11:12 schrieb danil a. osipchuk:
>> Hi, Martin
>> It seems that you are using unix vm. I've solved the issue by
>> editing sqUnixX11.c and setting there:
>> static x2sqKey_t x2sqKey= x2sqKeyInput;
>> (it's x2sqKeyPlain by default in sources on Ian site). I also have
>> built some fonts from TTF (russian in my case).
>> After rebuilding vm I've got squeak with russian fonts.
>> I hope that things will be less complicated when m17n project will
>> be included in core Squeak. Also, there are a plenty of German
>> squeakers here - may be they will point the shortest path.
>>> Am Saturday 18 September 2004 23:13 schrieb Bernhard Pieber:
>>>> Martin Kuball <MartinKuball at web.de> wrote:
>>>>> Is it possible to enter non 7bit characters like german umlaute
>>>>> into squeak text fields? When I type one of these (sÝS...) I
>>>>> only get an A with a ~ above it.
>>>> What do you mean by squeak text fields? I just tried it in a
>>>> workspace in 3.7 and 3.8alpha and there it works. Which version
>>>> of Squeak and which font did you use?
>>> With text field I mean any morph where you can enter text. I tried
>>> with the new 3.7full and the standard font. By the way it has
>>> never worked for me. I even tried the Windows version once but it
>>> showed the same behaviour.
More information about the Squeak-dev