diff options
Diffstat (limited to 'console/input.c')
-rw-r--r-- | console/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console/input.c b/console/input.c index 29e93c76..14879d07 100644 --- a/console/input.c +++ b/console/input.c @@ -62,7 +62,7 @@ error_t input_create (input_t *r_input, const char *encoding) condition_init (&input->data_available); condition_init (&input->space_available); - input->cd = iconv_open ("UTF-8", encoding); + input->cd = iconv_open (encoding, "UTF-8"); if (input->cd == (iconv_t) -1) { free (input); |