help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

non-ASCII characters in auto-save files


From: grivet
Subject: non-ASCII characters in auto-save files
Date: Mon, 25 Jun 2012 14:46:24 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Hello,
I write a lot of text under WinXP/Emacs/Latex, in French. For some unknown reason, emacs sometimes crashes and
I am left with an auto-save file, say #myfile#.
My problem is that, in such a file, all non ASCII characters are mangled. I can open #myfile# in Emacs, but accented e's, for instance,
appear as \303\250 or as \201\250 and similarly for all accented letters.
If I try to save #myfile# to disk, Emacs telles me it cannot encode these characters. Here is the answer I get when I do C-uC-x = on one
of the offending chars:

c-u c-x =

        character:   (4194216, #o17777650, #x3fffa8)
preferred charset: eight-bit (Raw bytes 128-255)
       code point: 0xA8
           syntax: w     which means: word
      buffer code: #xA8
        file code: not encodable by coding system emacs-mule-unix
          display: no font available

I have two questions:
    - Can Emacs be persuaded to to encode auto-save files in a more useful manner ?
    - Is there a systematic way to convert #myfile# to iso-latin-9 (or iso-latin-1) code, other than painstakingly
searching and replacing offending chars ?

Thanks in advance for your time and help
JP Grivet



reply via email to

[Prev in Thread] Current Thread [Next in Thread]