HomeFreeBSD

last: improve non-UTF8 locale output after libxo support was added

Description

last: improve non-UTF8 locale output after libxo support was added

Some strftime(3) conversion specifications will generate strings encoded
with the current locale, not necessarily UTF8. As per xo_format.5, use
the h string modifier so that libxo interprets it appropriately.

Reviewed by: eugen, philip
Differential Revision: https://reviews.freebsd.org/D32437

Details

Provenance
pstefAuthored on Oct 10 2021, 7:16 AM
Reviewer
philip
Differential Revision
D32437: last: improve non-UTF8 locale output after libxo support was added
Parents
rG902cde5d0a62: Revert "last(1): unbreak for 8-bit locales"
Branches
Unknown
Tags
Unknown