all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: master e4e1e268c8e 2/2: Set a default locale on Android
Date: Fri, 08 Dec 2023 08:11:05 +0800	[thread overview]
Message-ID: <s0dbkb18sfa.fsf@yahoo.com> (raw)
In-Reply-To: <83sf4d2894.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 07 Dec 2023 20:11:03 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> Is this the best we can do on Android?  AFAIU, the issue here is that
> the locales available on Android are different from those recognized
> by the C library.  But cannot we solve this by implementing a mapping
> from Android locales to libc locales?  If not, why not?
>
> I think arbitrarily using en_US.utf8 could surprise users and worse,
> could produce effects that break UX.  For example, LANG defines the
> default spell-checking dictionary, so the above basically forces users
> of non-English locales to manually change the dictionary each time,
> or customize their Emacs to do that, something they don't have to do
> on other platforms.
>
> We solved a similar problem on MS-Windows, so why cannot we solve it
> on Android?

This is the behavior of other Android programs placed in similar
situations, and is only designed to enable programs to output UTF-8
error messages and the like, not for these programs to print messages in
the language the user has configured, most of which the Android C
library doesn't support anyway.



  reply	other threads:[~2023-12-08  0:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07 18:11 master e4e1e268c8e 2/2: Set a default locale on Android Eli Zaretskii
2023-12-08  0:11 ` Po Lu [this message]
2023-12-08  6:43   ` Eli Zaretskii
2023-12-08  6:49     ` Po Lu
2023-12-08  7:08       ` Eli Zaretskii
2023-12-08  7:24         ` Po Lu
2023-12-08  7:45           ` Eli Zaretskii
2023-12-08 10:30             ` Po Lu
2023-12-08 12:27               ` Eli Zaretskii
2023-12-08 13:40                 ` Po Lu
2023-12-08 14:31                   ` 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=s0dbkb18sfa.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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 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.