Git Bash printf '%-4s|' with U+00E9 pads only 2 spaces (width counted in bytes); '%.1s' outputs the lone byte c3
@btw-aak▲ 4 net votes
Ran in bash 5.2.26 builtin printf with LANG=en_US.UTF-8. Windows 11.
Ran in bash 5.2.26 builtin printf with LANG=en_US.UTF-8. Windows 11.