[Mono-bugs] [Bug 23541][Nor] Changed - mcs needs to deal with the encoding of source files
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
27 Aug 2002 17:05:24 -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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=23541
--- shadow/23541 Sun Apr 28 07:42:21 2002
+++ shadow/23541.tmp.25933 Tue Aug 27 13:05:24 2002
@@ -1,23 +1,23 @@
Bug#: 23541
-Product: Mono/Runtime
+Product: Mono/MCS
Version: unspecified
OS: unknown
OS Details:
Status: NEW
Resolution:
Severity: Unknown
Priority: Normal
-Component: misc
+Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: martin@cwanet.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: libiconv oddities on windows
+Summary: mcs needs to deal with the encoding of source files
Description of Problem:
mcs fails to compile sources with long comment lines. csc has no problem.
Steps to reproduce the problem:
1. copy the lines below to test2.cs
@@ -91,6 +91,11 @@
"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).
+
+------- Additional Comments From lupus@ximian.com 2002-08-27 13:05 -------
+Moving to mcs: mcs needs to validate the source files for the correct
+encoding (maybe starting with utf8 and then falling back to latin1 or
+the default encoding for the locale...).