[Bug 15748] with leading quote, printf prints value of first byte of a character instead of its numeric value in the codset

bugzilla at busybox.net bugzilla at busybox.net
Thu Aug 31 07:24:53 UTC 2023


https://bugs.busybox.net/show_bug.cgi?id=15748

--- Comment #1 from Chris Slycord <cslycord at gmail.com> ---
Seems to happen for any multibyte character.

# (coreutils) printf '%X' "'ݔ"
754
# busybox printf '%X' "'ݔ"
DD

ݔ has Hex code point: 0754 and Hex UTF-8 bytes: DD 94

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list