From: Stefan Kangas <stefan@marxist.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Fujii Hironori <fujii.hironori@gmail.com>, 19910@debbugs.gnu.org
Subject: bug#19910: 24.4; Japanese font names are decoded incorrectly in Cygwin's emacs-w32 in LANG=ja_JP.UTF-8
Date: Sun, 01 Dec 2019 09:21:56 +0100 [thread overview]
Message-ID: <874kykihgb.fsf@marxist.se> (raw)
In-Reply-To: <83h9ugltg1.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Feb 2015 13:21:18 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Fri, 20 Feb 2015 19:39:55 +0900
>> From: Fujii Hironori <fujii.hironori@gmail.com>
>>
>> (font-family-list) returns incorrectly decoded Japanese font names.
>> My locale-coding-system is utf-8-unix.
>>
>> If I do (setq locale-coding-system 'cp932), it returns correct font names.
>> But, locale-coding-system is used in other places (e.g. M-x term and M-x man).
>> locale-coding-system must be utf-8 in my Emacs.
>
> The problem is in w32font.c: it should call the "wide" (a.k.a.
> "Unicode") APIs, and then decode strings using utf-16le, like we do in
> w32fns.c with encoding strings we pass to w32 GUI APIs.
That was 5 years ago. Is any of this still an issue on recent
versions of Emacs?
Best regards,
Stefan Kangas
next prev parent reply other threads:[~2019-12-01 8:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-20 10:39 bug#19910: 24.4; Japanese font names are decoded incorrectly in Cygwin's emacs-w32 in LANG=ja_JP.UTF-8 Fujii Hironori
2015-02-20 11:21 ` Eli Zaretskii
2015-02-27 15:22 ` Fujii Hironori
2015-02-27 16:03 ` Eli Zaretskii
2015-02-28 12:14 ` Fujii Hironori
2015-02-28 12:46 ` Eli Zaretskii
2019-12-01 8:21 ` Stefan Kangas [this message]
2019-12-01 17:35 ` 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=874kykihgb.fsf@marxist.se \
--to=stefan@marxist.se \
--cc=19910@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=fujii.hironori@gmail.com \
/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.