unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: What is a preferred charset?
Date: Wed, 21 Nov 2018 10:40:42 -0500	[thread overview]
Message-ID: <jwvr2fela5x.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: mvmo9aijvx1.fsf@suse.de

>> The discussion in bug#33445 made me realize that I don't know what
>> distinguishes a preferred charset from other charsets
> It's the first from (charset-priority-list) that can encode the
> character.  The priority is defined by the language environment.

And IIUC the only impact it has is on the choice of font to display it.
For latin chars, this tends to make no difference, but for some Asian
scripts it can make a much more significant difference because the same
Unicode chars are used for different languages even though they are
traditionally rendered differently in those different languages.

IOW, I think this `charset` property is used to solve the problems
descried at https://en.wikipedia.org/wiki/Han_unification

BTW, I see this page mentions the existence of "variation selectors"
in Unicode.  Is that considered a good solution?  Does Emacs support them?


        Stefan




  reply	other threads:[~2018-11-21 15:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-21 14:55 What is a preferred charset? Stephen Berman
2018-11-21 15:24 ` Andreas Schwab
2018-11-21 15:40   ` Stefan Monnier [this message]
2018-11-21 16:04     ` Eli Zaretskii
2018-11-21 16:48   ` Stephen Berman
2018-11-21 22:30     ` Eli Zaretskii
2018-11-21 22:44       ` Stephen Berman
2018-11-22  3:39         ` Eli Zaretskii
2018-11-22  9:07           ` Stephen Berman
2018-11-22 15:30             ` Eli Zaretskii
2018-11-22 16:28               ` Stephen Berman
2018-11-21 15:37 ` 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

  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=jwvr2fela5x.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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 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).