all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: jidanni@jidanni.org
Cc: 6866-done@debbugs.gnu.org
Subject: bug#6866: mule-cmds.el just _assumes_ all of Taiwan uses Big5	and	not UTF-8
Date: Mon, 16 Aug 2010 20:37:30 +0300	[thread overview]
Message-ID: <83fwyesbl1.fsf@gnu.org> (raw)
In-Reply-To: <87fwyen0ch.fsf@jidanni.org>

> From: jidanni@jidanni.org
> Date: Mon, 16 Aug 2010 21:39:10 +0800
> Cc: 6866@debbugs.gnu.org
> 
> Well anyway, for our locale me and my friends all use zh_TW.UTF-8 and
> stopped using zh_TW.big5 years ago. So at least it looks very dumb there
> in mule-cmds.el that the zh_CN people can use UTF-8, but the HK and TW
> are locked in the dark ages:
> 
>     ("zh_HK" . "Chinese-Big5")
>     ("zh_TW" . "Chinese-Big5")
>     ("zh_CN.UTF-8" . "Chinese-GBK")
>     ("zh_CN" . "Chinese-GB")

Are you sure you understand what this data base is used for in Emacs?

The function within mule-cmds.el which uses this data has this
comment:

    ;; locale-language-names specify both lang-env and coding.
    ;; But, what specified in locale-preferred-coding-systems
    ;; has higher priority.

Thus, if you specify UTF-8 as the preferred encoding (e.g., via
LC_ALL), it overrules the Big5 default.

> The only big5 thing I apparently sometimes still use is
> $ GET http://jidanni.org/comp/configuration/.emacs | grep -i b5
>     (setq default-input-method 'chinese-py-punct-b5))));no 'utf' ones

You are confused: an input method can produce Big5 characters, but
that won't prevent Emacs from encoding them in UTF-8 if that's your
preference.

I'm closing this bug.





  parent reply	other threads:[~2010-08-16 17:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-16 11:09 bug#6866: mule-cmds.el just _assumes_ all of Taiwan uses Big5 and not UTF-8 jidanni
2010-08-16 12:22 ` Eli Zaretskii
2010-08-16 12:23 ` Jason Rumney
2010-08-16 12:58 ` jidanni
2010-08-16 13:17   ` Jason Rumney
2010-08-16 13:39 ` jidanni
2010-08-16 14:07   ` Jason Rumney
2010-08-16 16:26     ` Werner LEMBERG
2010-08-16 17:37   ` Eli Zaretskii [this message]
2010-08-16 15:27 ` jidanni
2010-08-16 17:41   ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=83fwyesbl1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=6866-done@debbugs.gnu.org \
    --cc=jidanni@jidanni.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 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.