Alias appends space character to end of non-latin string

2022-07-01 Thread Vangelis Natsios
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-Smvct5/bash-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -Wno-format-security uname out

Warning raised if trying to set LC_ALL to a locale bearing a character type other than UTF-8 and C

2022-07-01 Thread Kerin Millar
Hello, I was experimenting with locale variables in bash and noticed something that appears odd. This is with bash 5.1.16 and glibc 2.35. $ locale -a | grep -E '^en_(US|GB)' en_GB.utf8 en_US en_US.iso88591 en_US.utf8 $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_T