diff --git a/console/ChangeLog b/console/ChangeLog
index 953bda160..a67022b25 100644
--- a/console/ChangeLog
+++ b/console/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* input.c (input_create): Fix arguments order of iconv_open()
+	call.
+	
 2005-01-19  Marco Gerards   <metgerards@student.han.nl>
 
 	* README.UTF8: New file.
diff --git a/console/input.c b/console/input.c
index 29e93c764..14879d077 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);