Re: mapcar to convert octals to ascii



On Thu, Jan 03 2008, Haines Brown wrote:

A demo file that is codepage windows-1252? I don't understand.

Here's a simple recipe:

$ echo -e 'O:\xD6 o:\xF6' > O-o.txt
$ emacs -Q O-o.txt

This should be displayed as...

,----[ Multibyte mode ]
| O:Ö o:ö
`----

.... unless you have EMACS_UNIBYTE set in your environment. (As
already pointed out by David Golden.)

In unibyte mode, it displays as...

,----[ Unibyte mode ]
| O:\326 o:\366
`----

Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
.



Relevant Pages

  • Re: mapcar to convert octals to ascii
    ... Here's a simple recipe: ... unless you have EMACS_UNIBYTE set in your environment. ... if he is reading your posting /within/ an emacs ... in unibyte mode, the two could wind up looking very similar... ...
    (comp.emacs)
  • Re: mapcar to convert octals to ascii
    ... Haines Brown wrote: ... I'm using emacs 23.60.0.1 under debian etch and the DejaVu font. ...
    (comp.emacs)