unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: handa <handa@gnu.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 13936@debbugs.gnu.org, eggert@cs.ucla.edu
Subject: bug#13936: Default to UTF-8 for most Emacs source files
Date: Thu, 14 Mar 2013 12:48:51 +0900	[thread overview]
Message-ID: <871ubiljz0.fsf@gnu.org> (raw)
In-Reply-To: <m24nggjmus.fsf@igel.home> (message from Andreas Schwab on Tue, 12 Mar 2013 23:04:59 +0100)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=iso-2022-jp-2, Size: 891 bytes --]

In article <m24nggjmus.fsf@igel.home>, Andreas Schwab <schwab@linux-m68k.org> writes:

> Paul Eggert <eggert@cs.ucla.edu> writes:
> > -  CJK variety: GB($AT*Fx(B,$A?*7"(B), BIG5($(0&x86(B,$(0DeBv(B), JIS($B855$(B,$B3+H/(B), KSC($(Cj*Q((B,$(CKR[!(B)
> > +  CJK variety: GB(^[$B85]c^[(B,^[$A?*7"^[(B), BIG5(^[$B85]f^[(B,^[$B3+b$^[(B), JIS(^[$B855$^[(B,^[$B3+H/^[(B), KSC(^[$B85]f^[(B,^[$B3+b$^[(B)

> You cannot do that.  You are throwing away the charset difference which
> is the whole point of the exercise.

Right.  When a file is in some legacy encoding such as
iso-2022-7bit, Emacs attached charset properties to proper
ranges of text, which works as a hint for selecting a proper
font especially for CJK characters.  The same can be said
for etc/tutorials/TUTORIAL.ja.  This file should be shown in
a proper Japanese font even for a user not in Japanese
lang. env.

---
Kenichi Handa
handa@gnu.org





  parent reply	other threads:[~2013-03-14  3:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12 21:16 bug#13936: Default to UTF-8 for most Emacs source files Paul Eggert
2013-03-12 21:54 ` Eli Zaretskii
2013-03-12 22:04 ` Andreas Schwab
2013-03-13  0:01   ` Paul Eggert
2013-03-14  3:48   ` handa [this message]
2013-03-18  7:22     ` Paul Eggert
2013-03-18  9:43       ` Andreas Schwab
2013-03-18 13:27         ` Stefan Monnier
2013-03-18 20:40           ` Paul Eggert
2013-03-20  8:18             ` Kenichi Handa
2013-03-20 16:43               ` Paul Eggert
2013-03-20 16:48               ` Paul Eggert
2013-04-02  1:20               ` Paul Eggert
2013-04-03 18:31                 ` Stefan Monnier
2013-04-03 18:39                   ` Eli Zaretskii
2013-04-04  0:35                     ` Stefan Monnier
2013-04-05 15:03                       ` Kenichi Handa
2013-04-05 18:58                         ` Stefan Monnier
2013-03-18 20:44           ` Paul Eggert

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=871ubiljz0.fsf@gnu.org \
    --to=handa@gnu.org \
    --cc=13936@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=schwab@linux-m68k.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).