bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Using ENVIRON["LANG"] = "C" instead of --characters-as-by


From: Eli Zaretskii
Subject: Re: [bug-gawk] Using ENVIRON["LANG"] = "C" instead of --characters-as-bytes
Date: Fri, 13 Mar 2015 10:14:35 +0200

> From: address@hidden
> Date: Fri, 13 Mar 2015 01:48:53 -0600
> Cc: address@hidden
> 
> I also don't think that it's a good idea to do so; changing locale in
> the middle of a run seems to me to be a pretty bad idea. It's likely
> to have all kinds of unintended side effects, and I thinks it's one of
> those dragon-infested places on the map where it's better to stay away
> from.

It's not unreasonable, IMO, to do that once in the BEGIN block.  That
would be the equivalent of running a shell command as in

  LC_ALL=WHATEVER <program>




reply via email to

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