[3431] in RedHat Linux List
Re: ASCII codes in Emacs
daemon@ATHENA.MIT.EDU (anthony)
Fri Nov 8 15:05:22 1996
Date: Fri, 8 Nov 1996 18:59:16 +0000 (GMT)
From: anthony <ac@achc.demon.co.uk>
To: redhat-list@redhat.com
In-Reply-To: <m2g22ltzsu.fsf@hubert.wustl.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On 7 Nov 1996, Alan Shutko wrote:
>
> 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
>
Many thanks for this reply. Yes, it's now working. I'm still rather
surprised that emacs requires all this messing about to make it do its
stuff, while a relatively small editor like joe can include all the
upper range of ASCII characters with a simple switch (-asis). In fact, I
think joe is a rather underrated editor - it seems to do all that I need.
Anthony
=================================================================
Anthony Campbell * Using Linux * London UK
email: anthony@achc.demon.co.uk or acampbell@cix.compulink.co.uk
=================================================================
--
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