26 Jun 2012 01:21
Re: non-ASCII characters in auto-save files
Stefan Monnier <monnier <at> iro.umontreal.ca>
2012-06-25 23:21:36 GMT
2012-06-25 23:21:36 GMT
> - Can Emacs be persuaded to to encode auto-save files in a more useful
> manner ?
No. Auto-save files are encoded using Emacs's internal coding-system,
which makes the operation a lot more reliable and efficient (no need to
worry about the case where some char(s) can't be encoded, for example).
> - 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 ?
Just open the file with the right coding-system (typically, opening
"myfile" and then hitting M-x recover-this-file RET should do the
trick).
Stefan
RSS Feed