diff options
Diffstat (limited to 'bin/sh/var.c')
-rw-r--r-- | bin/sh/var.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/sh/var.c b/bin/sh/var.c index 33890db..84b6dea 100644 --- a/bin/sh/var.c +++ b/bin/sh/var.c @@ -517,6 +517,13 @@ updatecharset(void) localeisutf8 = !strcmp(charset, "UTF-8"); } +void +initcharset(void) +{ + updatecharset(); + initial_localeisutf8 = localeisutf8; +} + /* * Generate a list of exported variables. This routine is used to construct * the third argument to execve when executing a program. |