Re: Command "read -N " doesn't respect UTF-8 encoding

2020-10-26 Thread Chet Ramey
On 10/24/20 3:51 PM, i...@kablex.ru wrote: > Bash Version: 4.3 > Patch Level: 30 > Release Status: release > > Description: > UTF-8 string piped to read command goes corrupt with -N option, e.g. > printf "привет"|(read -N 100500 var_text; printf "$var_text" ) > returns

Re: Command "read -N " doesn't respect UTF-8 encoding

2020-10-24 Thread Lawrence Velázquez
> On Oct 24, 2020, at 3:51 PM, i...@kablex.ru wrote: > > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_$ >

Command "read -N " doesn't respect UTF-8 encoding

2020-10-24 Thread info
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_$ uname output: Linux bitrix-lamp 3.16.0-4-amd64 #1 SMP Debian