From: Eli Zaretskii <eliz@gnu.org>
To: Leonard Lausen <leonard@lausen.nl>
Cc: 27505@debbugs.gnu.org
Subject: bug#27505: LC_CTYPE affects tutorial language
Date: Tue, 27 Jun 2017 18:05:27 +0300 [thread overview]
Message-ID: <8337alsc7c.fsf@gnu.org> (raw)
In-Reply-To: <44eb186d-db67-3e93-31cd-8260f5df7781@lausen.nl> (message from Leonard Lausen on Tue, 27 Jun 2017 23:48:41 +0900)
> From: Leonard Lausen <leonard@lausen.nl>
> Date: Tue, 27 Jun 2017 23:48:41 +0900
>
> as far as I know the environment variable LC_CTYPE applies to
> classification and conversion of characters, and to multibyte and wide
> characters. So setting it should not influence the interface language,
> correct?
>
> However, with the following locale:
> LANG=en_US.UTF-8
> LC_CTYPE=zh_CN.UTF-8
> LC_NUMERIC="en_US.UTF-8"
> LC_TIME="en_US.UTF-8"
> LC_COLLATE=C
> LC_MONETARY="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_PAPER="en_US.UTF-8"
> LC_NAME="en_US.UTF-8"
> LC_ADDRESS="en_US.UTF-8"
> LC_TELEPHONE="en_US.UTF-8"
> LC_MEASUREMENT="en_US.UTF-8"
> LC_IDENTIFICATION="en_US.UTF-8"
> LC_ALL=
>
> I find that the emacs tutorial (C-h t) is displayed in Chinese.
>
> Is this expected behavior or a bug?
It's the intended behavior: LC_CTYPE affects the language environment
which Emacs sets up by default. From the Emacs manual:
Some operating systems let you specify the character-set locale you
are using by setting the locale environment variables ‘LC_ALL’,
‘LC_CTYPE’, or ‘LANG’. (If more than one of these is set, the first one
that is nonempty specifies your locale for this purpose.) During
startup, Emacs looks up your character-set locale’s name in the system
locale alias table, matches its canonical name against entries in the
value of the variables ‘locale-charset-language-names’ and
‘locale-language-names’ (the former overrides the latter), and selects
the corresponding language environment if a match is found. It also
adjusts the display table and terminal coding system, the locale coding
system, the preferred coding system as needed for the locale, and—last
but not least—the way Emacs decodes non-ASCII characters sent by your
keyboard.
And the language environment includes a setting for the default
tutorial.
next prev parent reply other threads:[~2017-06-27 15:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <871soq7pyr.fsf@users.sourceforge.net>
2017-06-27 14:48 ` bug#27505: LC_CTYPE affects tutorial language Leonard Lausen
2017-06-27 15:05 ` Eli Zaretskii [this message]
2017-06-27 15:13 ` Andreas Schwab
[not found] ` <handler.27505.C.150189707129878.notifdonectrl.0@debbugs.gnu.org>
2017-08-05 1:54 ` bug#27505: acknowledged by developer (Re: bug#27505: LC_CTYPE affects tutorial language) Leonard Lausen
2017-08-05 2:06 ` npostavs
2017-08-05 5:59 ` Leonard Lausen
2017-08-05 7:10 ` Eli Zaretskii
2017-08-05 7:06 ` Eli Zaretskii
2017-08-05 8:17 ` Leonard Lausen
2017-08-05 9:17 ` Eli Zaretskii
2017-08-05 9:52 ` Leonard Lausen
2017-08-05 10:15 ` Eli Zaretskii
2017-08-05 10:50 ` Leonard Lausen
2017-08-05 11:09 ` Andreas Schwab
2017-08-05 11:20 ` Leonard Lausen
2017-08-05 11:22 ` Leonard Lausen
2022-04-17 19:44 ` bug#27505: LC_CTYPE affects tutorial language Lars Ingebrigtsen
2017-08-05 8:18 ` bug#27505: acknowledged by developer (Re: bug#27505: LC_CTYPE affects tutorial language) Leonard Lausen
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=8337alsc7c.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=27505@debbugs.gnu.org \
--cc=leonard@lausen.nl \
/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.