delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/10/08:59:27

Message-Id: <200006101257.PAA26404@alpha.netvision.net.il>
Date: Sat, 10 Jun 2000 15:56:54 +0200
X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: ams AT ludd DOT luth DOT se
CC: djgpp-workers AT delorie DOT com
In-reply-to: <200006101226.OAA17355@father.ludd.luth.se> (message from Martin
Str|mberg on Sat, 10 Jun 2000 14:26:32 +0200 (MET DST))
Subject: Re: Character differences
References: <200006101226 DOT OAA17355 AT father DOT ludd DOT luth DOT se>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
> Date: Sat, 10 Jun 2000 14:26:32 +0200 (MET DST)
> > 
> > (I'm assuming you use Emacs 20.x; if not, you don't have an easy way
> > of producing different encodings of the same character.)
> 
> I'm still on emacs 19.34. Can I make that emacs use Latin-1?

Not easily, as I said above.  The problem is that Emacs 19 can use
only single-byte characters, and the interpretation of those 8-bit
codes (e.g., the glyphs they display) is up to your system's hardware
and software.  On DOS, this typically means you get the glyphs burnt
into your system BIOS or whatever codepage you install at boot time.

The easiest way of getting Latin-1 (besides upgrading to Emacs 20) is
to create the file on Unix.  But then you will see the wrong glyphs on
DOS and any version of Windows whose installed locale is not Western
Europe.

(I'd really recommend to upgrade to Emacs 20, in any case.)

> The reason for CCing djgpp-workers: What encoding should the source
> files use (I'm mainly thinking about getting my surname right)?
> Latin-1?

No, don't use Latin-1, it will be displayed wrongly on most user's
machines.  (We don't want everybody to install Emacs 20 just to read
your name in all its non-ASCII glory, and we don't want them to use
Notepad, either ;-).

If you can live with ASCII transliteration, like Stroemberg or some
such, that would be the best way.  Failing that, use the bar you use
already.

- Raw text -


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