[Mono-bugs] [Bug 65480][Min] Changed - mcs is incorrectly processing literal strings containing accented letters in UTF-8 sources

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 7 Sep 2004 17:37:20 -0400 (EDT)


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 rafaelteixeirabr@hotmail.com.

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

--- shadow/65480	2004-09-07 17:22:41.000000000 -0400
+++ shadow/65480.tmp.9356	2004-09-07 17:37:20.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 65480
 Product: Mono: Compilers
 Version: unspecified
 OS: unknown
 OS Details: RH9
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Minor
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: rafaelteixeirabr@hotmail.com               
@@ -219,6 +219,35 @@
 
 Tried again with mcs from cvs head
 
 ------- Additional Comments From gonzalo@ximian.com  2004-09-07 17:22 -------
 Does your file have the UTF8 BOF marker? If not, you should try
 -codepage:utf8
+
+------- Additional Comments From rafaelteixeirabr@hotmail.com  2004-09-07 17:37 -------
+Yes using this option it worked, but why that change was made to mcs?
+And where it is documented, as it departs from the standard behaviour
+of using the current system encoding (from LANG)?
+Would we need to do this awful thing to mbas also? Because mbas
+compiled this version of the codebehind code, nice and correctly:
+
+imports System
+imports System.Web
+imports System.Web.UI
+imports System.Web.UI.WebControls
+
+namespace cadastro
+
+	public class cadaluno 
+		inherits System.Web.UI.Page
+	
+		protected editNome as TextBox 
+
+		protected overrides sub OnLoad( args as EventArgs)
+			mybase.OnLoad(args)
+			if (IsPostBack)
+              	editNome.Text = "Ol Mundo Co!"
+			end if
+		end sub
+	end class
+
+end namespace