Mail Archives: djgpp-workers/1998/12/18/01:40:34
Hi.
>Would it make sense to make the character set changes run time comparisons
>to see if it is a PC98 system? I'm not sure if anyone is attached
At run time, I don't change the character set, but only console I/O
(use BIOS, or thru DOS). :-)
For your information, lower part (0-127 decimal) of `Microsft Kanji
Encoding Scheme' (aka Shift-JIS) are as same as ASCII, except 0x5C (in
ASCII, it looks `back-shash', in Shift JIS, it looks `Yen'). And
higher part (128-255 decimal) are used for `Kanji', `Katakana'. This
scheme is not used *only* on PC98 but also DOS/V.
Similarly, in the Oriental country such as Korea, China, higher part
are used for their own character set (uses their own DBCS), and lower
part are almost as same as ASCII.
So, I think djgpp will work well in almost countries, on almost
machines, not need to apply large (and/or many) patches, if djgpp uses
*only* lower part (0-127 decimal) chars except it *needs* higer one.
And `standard' control codes (0-31 decimal) too.
Don't you think so?
--------
ADAM, as Toshio KUDO
GCG02632 AT nifty DOT ne DOT jp / adamtk AT altavista DOT net
- Raw text -