Mail Archives: djgpp/2000/02/16/06:43:50
Emacs 20.5 has some problems with international support on MS-DOS. First,
the quote "MS-DOS doesn't allow use of several codepages in a single
session. Instead, MS-DOS loads a single codepage at system startup,
and you must reboot MS-DOS to change it" from the manual is not true;
DOS does allow more than one codepage to be loaded at startup, and they
can be changed with the CHCP command. Second, entering non-ASCII
characters doesn't work. For example, typing ``C-x 8 " A'' produces code
196, which is the code for A-umlaut in iso-latin-1, but it is interpreted
in the context of the current code page; in code page 437, this is the code
for vertical line drawing character, which maps to iso-latin-1 code 173
(soft hyphen). For this particular character, it is possible to work around
this problem by saving the file as cp437 and reading it as iso-latin-1, but
generally it's impossible (``C-x 8 " a'' produces code 228, which is
uppercase sigma in cp437; as there is no such character in iso-latin-1, the
file gets code 127 both as cp437 and iso-latin-1).
--
Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/
- Raw text -