On Mon, Jun 24, 2024 at 2:37 PM Gioele Barabucci <gio...@svario.it> wrote: > $ printf -v b "\xc3\xbf\xbe" > > $ printf "$b" | { while LC_ALL=C read -N1 c; do \ > LC_ALL=C.UTF-8 printf "%d %q\n" "'$c" "$c"; done; } > 195 $'\303' > 255 $'\277' > 190 $'\276'
Can't reproduce this on Ubuntu 22.04 with Bash 5.3-alpha. It says 191 here, not 255.