[3234] in RedHat Linux List
Re: ASCII codes in Emacs
daemon@ATHENA.MIT.EDU (Alan Shutko)
Thu Nov 7 18:01:14 1996
To: redhat-list@redhat.com
From: Alan Shutko <ats@wydo125.wustl.edu>
Date: 07 Nov 1996 14:28:49 -0600
In-Reply-To: anthony's message of Thu, 7 Nov 1996 07:46:02 +0000 (GMT)
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
>>>>> "a" == anthony <ac@achc.demon.co.uk> writes:
a> On 6 Nov 1996, Alan Shutko wrote:
>> Actually, the pound sign isn't in ASCII, but it's octal 243 (163
>> decimal) in ISO 8859 Latin-1. To enter it in Emacs, enter `C-q
>> 243'. If you enter C-q and a number in octal, Emacs will insert
>> that character.
>>
>> --
a> It's 156 in ASCII for DOS - I thought it was the same in Unix.
a> Anyway, I've tried `C-q 243' and all that happens for me is that I
a> get /243 on screen! What am I doing wrong?
Ah, it seems that you don't know about the glory of i18n (a wonderful
abbreviation for internationalization).
Here's an executive summary. I suggest you take a look at the
internationalization iso-8859-1-charset FAQ
(rtfm.mit.edu:/pub/usenet-by-group/news.answers/internationalization/iso-8859-1-charset).
I'm surprised there isn't a Linux howto on it, but oh, well.
ASCII only specifies characters 0-127. Since that's not enough for
many people (everyone outside of the US, actually), everyone came up
with a different way to fix it. Hence, the DOS code page is different
from everything else.
The generic solution to this is something called ISO-8859, and the faq
I direct you to explains how to make emacs do the right thing.
(Depending on your version, setenv LANG ISO8859-1 may work.)
--
Alan Shutko <ats@hubert.wustl.edu> - The Few, the Proud, the Remaining.
IBM: Incredibly Belligerent Merketing
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null