summaryrefslogtreecommitdiff
path: root/src/wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wc.c')
-rw-r--r--src/wc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wc.c b/src/wc.c
index bb903f1a2..27db2a436 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -261,6 +261,10 @@ main (int argc, char **argv)
int nfiles;
program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
exit_status = 0;
print_lines = print_words = print_chars = 0;
total_lines = total_words = total_chars = 0;