aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index bbe656da..9c99c86f 100644
--- a/main.c
+++ b/main.c
@@ -566,9 +566,12 @@ out:
#if MBS_SUPPORT
if (do_binary) {
if (do_posix)
- warning(_("`--posix' overrides `--binary'"));
+ warning(_("`--posix' overrides `--characters-as-bytes'"));
else
gawk_mb_cur_max = 1; /* hands off my data! */
+#if defined(LC_ALL)
+ setlocale(LC_ALL, "C");
+#endif
}
#endif