]> git.ipfire.org Git - thirdparty/coreutils.git/commit
printf: support printing the numeric value of multi-byte chars
authorPádraig Brady <P@draigBrady.com>
Fri, 18 Mar 2022 14:52:36 +0000 (14:52 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 19 Mar 2022 16:57:07 +0000 (16:57 +0000)
commit6367cfe5fc513fb0832a3be18be8c9a813383321
tree40ed6dc7c6fad24ae581602a7a80e23d5eef88c4
parent28adf9cf58e51ad8711fbbc98fa322ee8d3114d9
printf: support printing the numeric value of multi-byte chars

* src/printf.c (STRTOX): Update to support multi-byte chars.
* tests/misc/printf-mb.sh: Add a new test.
* tests/local.mk: Reference the new test.
* NEWS: Mention the improvement.
Fixes https://bugs.gnu.org/54388
NEWS
src/printf.c
tests/local.mk
tests/misc/printf-mb.sh [new file with mode: 0755]