From bb291339dc3ae5bddcefd4b11839f2f520c5e40e Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 23 Jan 2006 22:16:53 +0000 Subject: 2006-01-23 Samuel Thibault * input.c (input_create): Fix arguments order of iconv_open() call. --- console/ChangeLog | 5 +++++ console/input.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'console') diff --git a/console/ChangeLog b/console/ChangeLog index 953bda16..a67022b2 100644 --- a/console/ChangeLog +++ b/console/ChangeLog @@ -1,3 +1,8 @@ +2006-01-23 Samuel Thibault + + * input.c (input_create): Fix arguments order of iconv_open() + call. + 2005-01-19 Marco Gerards * README.UTF8: New file. 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); -- cgit v1.2.3