GNU bug report logs - #20258
24.5; format-time-string miscounting of multibyte characters

Previous Next

Package: emacs;

Reported by: Gunnar Horrigmo <gunnar.horrigmo <at> usit.uio.no>

Date: Sat, 4 Apr 2015 15:36:01 UTC

Severity: minor

Tags: fixed, patch

Found in version 24.5

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gunnar Horrigmo <gunnar.horrigmo <at> usit.uio.no>
Cc: 20258 <at> debbugs.gnu.org, schwab <at> suse.de, larsi <at> gnus.org, stefan <at> marxist.se, gunnar.horrigmo <at> usit.uio.no
Subject: bug#20258: 24.5; format-time-string miscounting of multibyte characters
Date: Mon, 30 Sep 2019 17:44:24 +0300
> From: Gunnar Horrigmo <gunnar.horrigmo <at> usit.uio.no>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  <schwab <at> suse.de>,
>   <20258 <at> debbugs.gnu.org>,  <stefan <at> marxist.se>,
>   <gunnar.horrigmo <at> usit.uio.no>
> Date: Mon, 30 Sep 2019 16:30:55 +0200
> 
> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> 
> > I was pondering whether any users had a locale of *.UTF-16.
> 
> Windows users might

I don't think so.  AFAIK, UTF-16 is not a valid codeset of any Windows
locale.  Windows uses UTF-16 internally, and exposes it in the Windows
APIs, but APIs that came from Posix (and locale is one of them) only
support single-byte and DBCS encodings as their codeset.





This bug report was last modified 5 years and 234 days ago.

Previous Next


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