Antonio Macchi wrote: > same problem with read... > > > LC_CTYPE="en_US.UTF-8" > > $ read -n1 > è > > $ hexdump -C <(echo -n $REPLY) > 00000000 c3 |.| > 00000001 > > > > "è" is two chars.... but read stops at the first
I fixed read to understand multibyte characters for bash-4.0. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/