Hello,

I've found the bug in 9base's awk. It seems that printf works incorrectly with 
utf-8
strings. The way it counts string lengs is weird:
echo latin кириллица | /usr/local/plan9/bin/awk '{printf("[%20s][%20s]\n", $1, 
$2)}'

and the output is:

[               latin][  кириллица]

It seems that it counts every cyrillic letter as two, i. e. it ain't count 
letters
(or runes) but bytes.

Reply via email to