On 10/24/20 3:51 PM, [email protected] 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 some corrupt output "�#��#��#��#��#��#�"
Thanks for the report. This was fixed in bash-5.0.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/