From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 20258@debbugs.gnu.org, schwab@suse.de, stefan@marxist.se,
gunnar.horrigmo@usit.uio.no
Subject: bug#20258: 24.5; format-time-string miscounting of multibyte characters
Date: Mon, 30 Sep 2019 16:58:49 +0300 [thread overview]
Message-ID: <834l0tdgx2.fsf@gnu.org> (raw)
In-Reply-To: <878sq5ewe4.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 30 Sep 2019 15:39:15 +0200)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Andreas Schwab <schwab@suse.de>, 20258@debbugs.gnu.org,
> stefan@marxist.se, gunnar.horrigmo@usit.uio.no
> Date: Mon, 30 Sep 2019 15:39:15 +0200
>
> -A field width N is an unsigned decimal integer with a leading digit nonzero.
> -%NX is like %X, but takes up at least N positions.
> +A field width N is an unsigned decimal integer with a leading digit
> +nonzero. %NX is like %X, but takes up at least N positions. The
> +field width is (on most systems) in bytes, not characters, so it
"is measured in bytes". Also, I'd say "on GNU/Linux and some other
systems", which is marginally more accurate.
> +depends on the locale what the width (in characters) %NX will end up
> +being.
I would mention "non-ASCII characters" here in some way, not just the
locale, to make this more explicit.
Thanks.
next prev parent reply other threads:[~2019-09-30 13:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-04 14:33 bug#20258: 24.5; format-time-string miscounting of multibyte characters Gunnar Horrigmo
2015-04-04 15:42 ` Eli Zaretskii
2015-04-04 16:03 ` Stefan Monnier
2015-04-04 16:42 ` Andreas Schwab
2019-09-30 0:35 ` Stefan Kangas
2019-09-30 3:09 ` Lars Ingebrigtsen
2019-09-30 7:01 ` Eli Zaretskii
2019-09-30 8:41 ` Andreas Schwab
2019-09-30 9:13 ` Eli Zaretskii
2019-09-30 13:39 ` Lars Ingebrigtsen
2019-09-30 13:58 ` Eli Zaretskii [this message]
2019-09-30 14:12 ` Lars Ingebrigtsen
2019-09-30 14:30 ` Gunnar Horrigmo
2019-09-30 14:44 ` Eli Zaretskii
2019-09-30 14:41 ` Eli Zaretskii
2019-09-30 14:48 ` Lars Ingebrigtsen
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=834l0tdgx2.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=20258@debbugs.gnu.org \
--cc=gunnar.horrigmo@usit.uio.no \
--cc=larsi@gnus.org \
--cc=schwab@suse.de \
--cc=stefan@marxist.se \
/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).