| Summary: | with leading quote, printf prints value of first byte of a character instead of its numeric value in the codset | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Chris Slycord <cslycord> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | NEW --- | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.35.x | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Chris Slycord
2023-08-31 07:15:14 UTC
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 |