[Mono-bugs] [Bug 23541] Changed - libiconv oddities on windows

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
23 Apr 2002 16:03:49 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gonzalo@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=23541

--- shadow/23541	Sat Apr 20 08:26:31 2002
+++ shadow/23541.tmp.6789	Tue Apr 23 12:03:49 2002
@@ -57,6 +57,23 @@
 ------- Additional Comments From miguel@ximian.com  2002-04-19 17:04 -------
 This is a bug in the runtime.
 
 ------- Additional Comments From lupus@ximian.com  2002-04-20 08:26 -------
 It works on linux: this may be due to the different behaviour libiconv
 has on some platforms (this bug may also be related to bug#23116).
+
+------- Additional Comments From gonzalo@ximian.com  2002-04-23 12:03 -------
+I did cut & paste with the sample code and it failed because there
+was a "" instead of a "-" (minus sing) just before the 1 (in "Default
+value is -1") (cut&paste between mozilla and gvim).
+
+The error returned by iconv () in the first case is EILSEQ.
+This g_warning () showed "1, which indicates..." as the source of the
+ILSEQ.
+---
+case EILSEQ:
+	g_warning ("Iconv error at or near: %s\n", p);
+	have_error = TRUE;
+---
+
+When I changed the "" to "-" it compiles ok in cygwin.
+