bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk: Wrong behavior in binary mode


From: John Cowan
Subject: Re: gawk: Wrong behavior in binary mode
Date: Tue, 16 Dec 2008 01:12:32 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

Eli Zaretskii scripsit:

> I think you are missing the fact that LC_ALL=C has broad effects other
> than just disabling multibyte characters.  For example, it also causes
> Gawk to speak US English when displaying messages, and use US format
> for dates and currency.  What do I do if I want my error messages in
> Hebrew, but need to work with raw binary data that is not a character
> string?

Quite so.  There should be some way to specify the encoding of Gawk's
input and output files independent of the locale (IMHO, encoding the
character encoding into the local identifier was just a botch.)

-- 
MEET US AT POINT ORANGE AT MIDNIGHT BRING YOUR DUCK OR PREPARE TO FACE WUGGUMS
John Cowan      address@hidden      http://www.ccil.org/~cowan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]