X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Doug Kaufman <dkaufman AT rahul DOT net> Newsgroups: comp.os.msdos.djgpp Subject: Re: GNU Emacs DOS (DJGPP) port converts upper-ASCII characters to ASCII 127 Date: 9 Feb 2002 06:34:02 GMT Organization: a2i network Lines: 36 Message-ID: <a42fsq$rj0$1@samba.rahul.net> References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020205153803 DOT 24181A-100000 AT is> <a3oha9$194gnj$1 AT ID-49635 DOT news DOT dfncis DOT de> <a3tp0a$1b0grj$2 AT ID-49635 DOT news DOT dfncis DOT de> <563-Thu07Feb2002214445+0200-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dkaufman X-Newsreader: NN version 6.5.6 (NOV) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> writes: >Alternatively, if you don't care about any language but German, invoke >Emacs with the --unibyte switch. This will leave the 8-bit characters >intact, but they probably won't be displayed correctly (since the DOS >terminal cannot display Latin-1 characters encoded in 8859-1). > ... >written. It only matters for how text is _displayed_. And you should >never set it to latin-1, since the DOS terminal can only display one >character set--the one defined by the currently installed codepage. > ... >characters encoded in some encoding that is totally alien to DOS. If >you tell Emacs it's a Latin-1 file, you will see that file correctly >displayed, even though DOS doesn't understand Latin-1, and even though >DOS terminals cannot display Latin-1 characters (some of the Latin-1 >glyphs are simply missing from the video ROM, others are in wrong >places). What other editor can pull that trick? I believe that the comments about the ability of the DOS terminal to display Latin-1 or Cyrillic are overstated. Certainly with a default setup, this is true, but it is easy to add Latin-1 (codepage 819) or Cyrillic (codepage 915 = ISO 8859-5) support with the free iso codepage package from Kosta Kostis. This requires a VGA or SVGA display and the use of the DISPLAY.SYS driver. With this in place the codepage can be changed on the fly for any program that allows shelling out to DOS. See: "http://www.kostis.net/freeware/isocp101.zip" or "http://ftp.uni-erlangen.de/pub/doc/ISO/charsets/isocp101.zip" Doug -- Doug Kaufman Internet: dkaufman AT rahul DOT net