GNU bug report logs - #79296
30.2; format-time-string returns wrongly encoded string in MS Windows Japanese with cp65001 beta config

Previous Next

Package: emacs;

Reported by: Shingo Tanaka <shingo.fg8 <at> gmail.com>

Date: Sun, 24 Aug 2025 02:17:02 UTC

Severity: normal

Found in version 30.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Shingo Tanaka <shingo.fg8 <at> gmail.com>
To: Bruno Haible <bruno <at> clisp.org>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 79296 <at> debbugs.gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>, Shingo Tanaka <shingo.fg8 <at> gmail.com>
Subject: bug#79296: 30.2; format-time-string returns wrongly encoded string in MS Windows Japanese with cp65001 beta config
Date: Sun, 24 Aug 2025 17:14:37 +0900
Hi Eli, Bruno,

>   > Shingo Tanaka, could you please tell what is the value of
>   > w32-multibyte-code-page on your system, both when "Beta: Use Unicode
>   > UTF-8 for worldwide language support" is ON and when it is OFF?
> 
>   Yes, this info would be useful.

Here is the results. Looks like the value of w32-multibyte-code-page is wrong?

- "Beta: Use Unicode UTF-8 for worldwide language support": OFF

w32-system-coding-system
cp932

w32-multibyte-code-page
932

w32-ansi-code-page
932

- "Beta: Use Unicode UTF-8 for worldwide language support": ON

w32-system-coding-system
cp65001

w32-multibyte-code-page
0

w32-ansi-code-page
65001

Please let me know if you need further information.

--
Shingo




This bug report was last modified 21 days ago.

Previous Next


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