unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: sds@gnu.org
Subject: Re: cannot encode a buffer??
Date: Wed, 25 Jun 2003 20:22:22 +0900	[thread overview]
Message-ID: <8765mul7v5.fsf@tleepslib.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <200306250752.QAA01036@etlken.m17n.org> (Kenichi Handa's message of "Wed, 25 Jun 2003 16:52:34 +0900 (JST)")

>>>>> "Kenichi" == Kenichi Handa <handa@m17n.org> writes:

    Kenichi> If you force saving them by utf-8, the encoder generates
    Kenichi> a utf-8 byte sequence corresponding to U+FFFD for each of
    Kenichi> them.

Isn't that a violation of the Unicode standard?

I agree that the preferences of those who would rather that Emacs keep
the different flavors of Han different should be respected.  FWIW, I'd
default `utf-translate-cjk-mode' to on (to encourage development of a
Unicode-based way to disambiguate Unihan), but that does risk a lot of
annoyance for Asian polyglots.

However, if somebody insists on saving as UTF-8, the result should be
unification of Japanese to Chinese (which after all can be read, if
you can read both languages), not destruction of text.  Ie, it should
not be possible for Emacs to convert any JIS X 0208 character to
U+FFFD, ever.


-- 
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.

  reply	other threads:[~2003-06-25 11:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-24 14:52 cannot encode a buffer?? Sam Steingold
2003-06-24 16:23 ` Kai Großjohann
2003-06-24 19:17   ` Sam Steingold
2003-06-25  7:03     ` Kai Großjohann
2003-06-25  7:52     ` Kenichi Handa
2003-06-25 11:22       ` Stephen J. Turnbull [this message]
2003-06-25 11:52         ` Jason Rumney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8765mul7v5.fsf@tleepslib.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=sds@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).