Re: [help] display extended ASCII code
- From: Benjamin Riefenstahl <b.riefenstahl@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 14:47:56 +0100
Hi Leon,
Leon writes:
> How to get Emacs to correctly display extended ASCII code?
There is no specific encoding that is called "extended ASCII". There
are a lot of ASCII compatible encodings (which could be called
extensions of ASCII), using 8 or more bits instead of ASCII's 7.
> OCT DEC HX OCT DEC HX OCT DEC HX OCT DEC HX
> \200 128 80 \200 | \240 160 a0 | \300 192 c0 À | \340 224 e0 à
> \201 129 81 \201 | \241 161 a1 ¡ | \301 193 c1 Á | \341 225 e1 á
> \202 130 82 \202 | \242 162 a2 ¢ | \302 194 c2 Â | \342 226 e2 â
Your post got to me here encoded as UTF-8 and lists the complete
repertoire of ISO-8859-1. In your table there are no glyphs in the
range 0x80-0x9F, probably because ISO-8859-1 has control characters
(unused by most software) in there, not printable characters.
If you have text that uses this range for actual characters, you are
most likely using Microsoft's "Codepage 1252", which has characters in
those positions. Depending on your version of Emacs it's possible to
use the Emacs coding systems windows-1252 or cp1252 for that kind of
text.
The user-agent header of your post says you are posting with Gnus on
Emacs/22.0.50 so cp1252 might work OOTB for you. Try to open a file
in that encoding by using C-x RET c cp1252 RET C-x C-f filename RET.
If that works, you can try whether putting (prefer-coding-system
'cp1253) in your ~/.emacs does what you want.
benny
.
- Follow-Ups:
- Re: [help] display extended ASCII code
- From: leon
- Re: [help] display extended ASCII code
- References:
- [help] display extended ASCII code
- From: leon
- [help] display extended ASCII code
- Prev by Date: Re: can emacs indent 4 space other than 2 in cc-mode?
- Next by Date: face size customization doesn't stick
- Previous by thread: [help] display extended ASCII code
- Next by thread: Re: [help] display extended ASCII code
- Index(es):
Relevant Pages
|