summaryrefslogtreecommitdiff
path: root/console/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'console/console.c')
-rw-r--r--console/console.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/console/console.c b/console/console.c
index 6225d71d..dad7516e 100644
--- a/console/console.c
+++ b/console/console.c
@@ -1,6 +1,6 @@
/* console.c -- A console server.
- Copyright (C) 1997, 1999, 2002, 2003, 2007, 2008
+ Copyright (C) 1997, 1999, 2002, 2003, 2007, 2008, 2010
Free Software Foundation, Inc.
Written by Miles Bader and Marcus Brinkmann.
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
+#include <locale.h>
#include <argp.h>
#include <argz.h>
@@ -2018,6 +2019,8 @@ main (int argc, char **argv)
/* Parse our command line arguments. */
argp_parse (&netfs_std_runtime_argp, argc, argv, 0, 0, cons);
+ setlocale (LC_CTYPE, "C.UTF-8");
+
task_get_bootstrap_port (mach_task_self (), &bootstrap);
netfs_init ();