GNU bug report logs - #28705
25.3; [PATCH] Change prefered coding system for Japanese language environment

Previous Next

Package: emacs;

Reported by: Yasuhiro KIMURA <yasu <at> utahime.org>

Date: Wed, 4 Oct 2017 16:26:02 UTC

Severity: wishlist

Tags: patch

Found in version 25.3

Fixed in version 27.1

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Forwarded to http://lists.gnu.org/r/emacs-devel/2017-10/msg00226.html

Full log


Message #8 received at 28705 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Yasuhiro KIMURA <yasu <at> utahime.org>
Cc: 28705 <at> debbugs.gnu.org
Subject: Re: 25.3; [PATCH] Change prefered coding system for Japanese language
 environment
Date: Fri, 6 Oct 2017 14:10:29 -0700
[Message part 1 (text/plain, inline)]
Thanks for the bug report. Would you please discuss the practical 
advantages of the proposed patch?

Is the patch is for Japanese users who do not specify a locale via 
environment variables like LC_ALL? If so, how do they specify their 
preference to Emacs now, and how would this change affect behavior for 
them? And how do users specify their coding preference to other 
programs, such as "cat" and "diff"?

I have the impression that Emacs users in Japan are gradually switching 
from EUC-JP to UTF-8. Is there some way to verify this? I know of 
website surveys like 
<https://w3techs.com/technologies/history_overview/character_encoding/ms/y>, 
which says that since 2010 UTF-8 has grown from 51% to 90% of websites 
whereas EUC-JP has shrunk from 0.7% to 0.3% worldwide. However, this 
issue is more about what encodings are used by keyboards and terminal 
displays in Japan (typically these are programs in windowing systems 
these days, as GNU/Linux consoles cannot handle enough characters to 
support Japanese). Is there some way to estimate this?

A minor point: a change like this should be noted in the NEWS file, and 
the commit message should use the usual Emacs style. I'm attaching a 
copy of your patch with a revised commit message, along with another 
patch to mention this change in NEWS and to change affected 
documentation. I will ask for comment about this proposed change on the 
emacs-devel mailing list.

[0001-Change-preferred-Japanese-coding-system-to-UTF-8.patch (text/x-patch, attachment)]
[0002-Mention-Japanese-change-in-documentation.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.