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

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

Re: Emacs text bug


From: Eli Zaretskii
Subject: Re: Emacs text bug
Date: Thu, 31 Jan 2013 20:52:56 +0200

> Date: Thu, 31 Jan 2013 09:55:52 -0800 (PST)
> From: drain <aeuster@gmail.com>
> 
> Still problems.
> 
> (1) revert-buffer-with-coding system RET
> (2) utf-8 RET
> (3) "Revert buffer from file[...]" y RET
> (4) [characters appear as they should now]
> (5) [make change so I can save]
> (6) save-buffer
> (7) "Select coding system (default raw-text)" utf-8
> (8) "wrote buffer [...]"
> (9) kill-buffer RET foo.org RET
> (10) find-file foo.org RET, sees it's back to raw-text, not utf-8, with
>      characters mangled.

Evidently, you have in that file bytes that are not valid UTF-8
sequences.  You need to fix them (the "Select coding system ..."
prompt tells you which characters cannot be encoded in UTF-8 -- those
are the ones you need to fix.).



reply via email to

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