[5642] in testers
LANG=en_US.UTF-8 and wc
daemon@ATHENA.MIT.EDU (Ken T Takusagawa)
Fri Jul 11 22:32:48 2003
Date: Fri, 11 Jul 2003 22:32:45 -0400 (EDT)
From: Ken T Takusagawa <kenta@MIT.EDU>
To: testers@MIT.EDU
Message-ID: <Pine.LNX.4.55L.0307112224020.30102@quiche-lorraine.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
The environmental variable LANG has gotten
automatically set for me to en_US.UTF-8.
This causes the "wc" command to spew warnings of the form
"Invalid or incomplete multibyte or wide character" when run
on binary files (arguably one shouldn't be running wc on
binary files, but anyway). I think it still gets the right
answer, though.
Either of the incantations:
unsetenv LANG
or
setenv LC_ALL C
seem to make the warnings go away.
--ken