bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20258: 24.5; format-time-string miscounting of multibyte characters


From: Lars Ingebrigtsen
Subject: bug#20258: 24.5; format-time-string miscounting of multibyte characters
Date: Mon, 30 Sep 2019 16:12:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> "is measured in bytes".  Also, I'd say "on GNU/Linux and some other
> systems", which is marginally more accurate.

OK.

>> +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.

I was pondering whether any users had a locale of *.UTF-16.  Then even
the ASCII characters will be subject to the byte/character difference,
so I thought it was best to leave even that vague.

But perhaps saying something like "especially with non-ASCII characters"
wouldn't be too misleading?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]