* MULE: how to detect characters which can't be saved correctly.
@ 2006-04-02 5:56 Jimmy Lao
2006-04-02 17:28 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Jimmy Lao @ 2006-04-02 5:56 UTC (permalink / raw)
Somtimes when I want to save a file containing multi-byte charaters,
the following message appears:
---------------------------------------------------------
These default coding systems were tried to encode text
in the buffer `temp':
chinese-gd2312
However, each of them encountered these problematic characters:
chinese-gb2312: <some numbers listed here>
The first problematic character is at point in the displayed buffer,
and C-u C-x = will give information about it.
Select one of the following safe coding systems, or edit the buffer:
utf-8 utf-16 utf-16 utf-16 utf-16be utf-16le iso-2022-7bit
Or specify any other coding system
at the risk of losing the problematic characters.
---------------------------------------------------------
Even if I choose utf-8, the buffer won't be saved correctly, as Emacs
doesn't really recognize these characters.
So, can I detect such problematic characters after I open the file, and
before I make any modification to the buffer? Which elisp function
should I use?
Thanks.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-02 17:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-02 5:56 MULE: how to detect characters which can't be saved correctly Jimmy Lao
2006-04-02 17:28 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.