Re: [help] display extended ASCII code



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
.



Relevant Pages

  • Re: Multiple coding systems, and filesystems
    ... The page has a style sheet that makes special suggestions on the font of such words, in a most confusing and tricky way. ... If there were just a few "special" characters, you could present them using entity references like ö or character references like ą, but this gets clumsy if you have full sentences that consist of "special" characters. ... It's not possible to switch the character encoding in the middle of an HTML document. ... Sometimes Emacs asked me for what coding ...
    (comp.infosystems.www.authoring.html)
  • Re: Byte array to string
    ... > I had this problem where I had a program running on Korea where the codepage ... Careful here - there's no such encoding as "Extended ASCII". ... but the point is that a byte array isn't an array of characters. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Wonder Woman et al.
    ... (I'm not sure what happened to the encoding in your post, ... "extended ASCII" doesn't mean a damn thing. ... your identification were correct then a proper newsreader should handle it. ... The significant point is not the technical description of those characters ...
    (alt.usage.english)
  • Re: CAtlRegExp crashes with pound sign!
    ... there are numerous Extended ASCII code pages. ... for 8-bit characters that'd be UTF-8. ... Microsoft MVP, MCSD ...
    (microsoft.public.vc.atl)
  • Re: Question about Extended ASCII character set, and fstream
    ... One problem with Extended ASCII codes is that nobody seems to agree on ... > characters fine, but nothing from the extended set (the extened set ... And as this is essentially specific to your platform, ... a.c.l.l.c-c++ FAQ: http://www.comeaucomputing.com/learn/faq ...
    (alt.comp.lang.learn.c-cpp)