www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/16/06:43:50

X-Authentication-Warning: sirppi.helsinki.fi: peuha owned process doing -bs
Date: Wed, 16 Feb 2000 12:24:41 +0200 (EET)
From: Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>
Sender: peuha AT cc DOT helsinki DOT fi
To: djgpp AT delorie DOT com
Subject: Problems with Emacs 20.5
Message-ID: <Pine.OSF.4.20.0002161223330.28606-100000@sirppi.helsinki.fi>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019