[Bug: 21.4.15] xemacs vm character encoding PPS

Adrian Aichner adrian at xemacs.org
Mon Mar 7 14:45:14 EST 2005


Laurenz Wiskott <l.wiskott at biologie.hu-berlin.de> writes:

> PPS: I have realized that the special characters u-umlaut etc are encoded in a
> file with two bytes, i.e. a file with four special characters and a newline is
> 9 bytes long.  I think this indiates that files are saved not with the latin1
> encoding but maybe with unicode or something, I don't know.  I guess, a2ps and
> also the mail reader interpret the characters with latin1 instead of unicode
> (or something).  Could this explain why I get the strange characters.  I don't
> know yet how to change the file encoding under xemacs in order to test this
> hypothesis.

Hi Laurenz, what do you get for
M-: buffer-file-coding-system
in the buffer visiting that 9 byte file?

You can also specify a coding system when visit the file via the C-u
prefix argument:

C-u (universal-argument)
C-x C-f (find-file)

Hope this helps,

Adrian

>
> Best regards, Laurenz.
>
>

-- 
Adrian Aichner
 mailto:adrian at xemacs.org
 http://www.xemacs.org/




More information about the XEmacs-Beta mailing list