Just looked at source of wc
(http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/wc.c). UTF-8
is hard-coded here. What is the reason? Nobody wants to rewrite it,
it is optimization or it is impossible to rewrite it using runes for
some reason?

http://plan9.bell-labs.com/sys/doc/utf.html says all you need to do to
change encoding is:
1. Rewrite UTF encoding/decoding code.
2. Convert all text files.
3. Recompile all software.

Looks like it is impossible with current code. It is not fixed just
because there is more important work or there is some serious problem
in design?


Reply via email to