Multilingual Squeak (was Re: John's email)
Ohshima, Yoshiki
Yoshiki.Ohshima at disney.com
Thu Mar 14 21:13:39 UTC 2002
Hannes,
> I set the style of the Transcript to DefaultMultiStyle
This should be done automatically.
> 16r3040 to: 16r30FF do: [ :ch | Transcript show: ch asCharacter
> printString].
>
> But now Japanese characters showed up.
Did they? If you want to check out hiraganas, try
(401 to: 483) collect: [:i | JISX0208 characterKuten: i]
and for katakanas
(501 to: 583) collect: [:i | JISX0208 characterKuten: i]
There is a character numbering scheme called 'Kuten' code
in JIS X 0208 standard and JISX0208>>characterKuten: gives you the
specified character.
Hope this helps,
-- Yoshiki
More information about the Squeak-dev
mailing list
|