Re: Characters lost when saving UTF-8 file on win32 (21.5.16)

"Stephen J. Turnbull" <[email protected]>
Newsgroups gmane.emacs.xemacs.windows,gmane.emacs.xemacs.beta
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "Vladimir" == Vladimir Weinstein <[email protected]> writes:

    Vladimir> When you load an UTF-8 file in xemacs, some characters
    Vladimir> do not get displayed - instead, a GETA MARK (U+3013) is
    Vladimir> displayed (looks like this ). This is generally ok for
    Vladimir> display purposes, but the problem is that when I save
    Vladimir> that file, all the characters that cannot be displayed
    Vladimir> get replaced by the GETA MARK, which is unacceptable.

Sorry, you'll have to create a private charset to hold the characters
you need, or get another editor.  The GETA MARK (which is an older
convention for U+FFFD REPLACEMENT CHARACTER, from the Japanese JIS X
0208 standard) means that XEmacs can't represent those characters
internally with the charsets currently available.  Replacing the
current Mule internal representation with Unicode is planned, but not
going to happen soon.

We should signal an error, though, or query the user about how to
handle those characters.

GNU Emacs may work for your purposes, it has a somewhat extended
repertoire of characters, although I think that their released
versions do not cover all of Unicode yet.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.