On 01/25/2011 06:18 PM, Sune Mølgaard wrote: > sune@jekaterina:~$ echo Å|wc -m > 2 > sune@jekaterina:~$ echo Å|wc -c > 3 > sune@jekaterina:~$ > > Expected: 1 and 2 respectively. Thanks for the report. However, this is not a bug - echo is outputting a newline (which is a second character, and third byte given the encoding of your chosen character). To see the difference, try: $ echo Å | od -tx1z 0000000 c3 85 0a >...< 0000003 $ printf Å | od -tx1z 0000000 c3 85 >..< 0000002 -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org