> But:
> >setenv LC_ALL en_US.UTF-8
> >env LC_ALL=it echo
> gioved�, 25 ottobre 2001, 11:45:24 EDT
> 
> I could not understand why I get the display of the letter � in the
> en_US.UTF-8 Locale. My understanding was that the date command was
> generating the message in the Italian locale (default encoding iso-8859-1)
> and as a result � would be encoded as xEC. The display should be done in
> the
> en_US.UTF-8 Locale and be an invalid byte sequence.

I think you're making an improper assumption about the fact that your
*terminal* is in UTF-8 and would then complain. Unless your terminal has
explicit support for UTF-8 I do not think it will validate things. And it
apparently has not been started from a process that was already using UTF-8,
since you're issuing your setenv LC_ALL en_US.UTF-8 at the prompt. This is
only affecting subsequent commands (unless overridden, of course, as in your
next call), not the running process.
 
YA

PS: not to mention zsh(1) would be a better shell ;-) <just teasing>


Reply via email to