diff options
Diffstat (limited to 'console/console.c')
-rw-r--r-- | console/console.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/console/console.c b/console/console.c index 6225d71d..eb2f1f44 100644 --- a/console/console.c +++ b/console/console.c @@ -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 (); |