unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* non-ASCII characters in auto-save files
@ 2012-06-25 12:46 grivet
  2012-06-25 16:56 ` Peter Dyballa
       [not found] ` <mailman.3451.1340643405.855.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 12+ messages in thread
From: grivet @ 2012-06-25 12:46 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]

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



[-- Attachment #2: Type: text/html, Size: 2352 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-06-28  2:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3448.1340636607.855.help-gnu-emacs@gnu.org>
2012-06-25 23:21 ` non-ASCII characters in auto-save files Stefan Monnier
2012-06-26 10:13   ` grivet
2012-06-26 15:40     ` Eli Zaretskii
2012-06-27 11:52   ` Xah Lee
2012-06-27 16:44     ` Eli Zaretskii
     [not found]     ` <mailman.3571.1340815454.855.help-gnu-emacs@gnu.org>
2012-06-27 20:03       ` Xah Lee
2012-06-28  1:07         ` Stefan Monnier
2012-06-28  2:58           ` Eli Zaretskii
2012-06-25 12:46 grivet
2012-06-25 16:56 ` Peter Dyballa
     [not found] ` <mailman.3451.1340643405.855.help-gnu-emacs@gnu.org>
2012-06-25 22:40   ` Michael Heerdegen
2012-06-25 23:11     ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).