[Mono-bugs] [Bug 23541] Changed - libiconv oddities on windows
28 Apr 2002 11:42:21 -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 email@example.com.
--- shadow/23541 Sat Apr 27 21:43:44 2002
+++ shadow/23541.tmp.19078 Sun Apr 28 07:42:21 2002
@@ -77,6 +77,20 @@
When I changed the "û" to "-" it compiles ok in cygwin.
------- Additional Comments From firstname.lastname@example.org 2002-04-27 21:43 -------
*** Bug 23951 has been marked as a duplicate of this bug. ***
+------- Additional Comments From email@example.com 2002-04-28 07:42 -------
+See also my comment on bug 23951 - this is because iconv() tries
+to convert the string from UTF-8 to UTF-16le and the `u-umlaut' is
+not a valid UTF-8 character.
+So IMO this is not a bug in the runtime, but in the class
+libraries/MCS - iconv_open() is called with "UTF-8" as source and
+"UTF-16le" as target - so it's correct to throw an error (of course
+it should throw an exception and not g_assert_not_reached ()).
+MCS/the class library must determine the encoding of the input file
+and then make sure that iconv_open() gets the correct source
+encoding (iso-8859-1 in this case).