Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] emacs & iso-8859-1
Date: Sat, 19 Feb 2011 05:58:07
Message-Id: 20110219005601.5dec0ff0@osage.osagesoftware.com
1 G'day,
2
3 ISO-8859-1 uses byte values 0xC0 to 0xFF for European accented
4 characters (amongst otherss).
5
6 I have a binary file whose bytes have values 0xC0 to 0xFF. Emacs is
7 presently displaying them as octal, i.e. \300\301\302\303 etc.
8
9 How do I get emacs to display them as accented characters?
10
11 set-language-environment gives me some of the capability I want, but
12 not all because it isn't sticky. Ideally setting a mode (or a
13 variable) in my .emacs would affect newly opened files and show the
14 accents.
15
16 Thanks,
17
18 David