[Mono-bugs] [Bug 65480][Min] Changed - Textbox.Text is double converting text to UTF-8 in codebehind

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 7 Sep 2004 17:10:47 -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 16:56:44.000000000 -0400
+++ shadow/65480.tmp.8007	2004-09-07 17:10:47.000000000 -0400
@@ -1,16 +1,16 @@
 Bug#: 65480
-Product: Mono: Class Libraries
+Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: RH9
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Minor
-Component: Sys.Web
+Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: rafaelteixeirabr@hotmail.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
@@ -155,6 +155,66 @@
 
 How often does this happen? 
 
 Always
 
 Additional Information:
+
+------- Additional Comments From rafaelteixeirabr@hotmail.com  2004-09-07 17:10 -------
+Wrong culprit: mcs messed things as told by monodis
+
+.namespace cadastro
+{
+  .class public auto ansi beforefieldinit cadaluno
+        extends [System.Web]System.Web.UI.Page
+  {
+    .field  family   class
+[System.Web]System.Web.UI.WebControls.TextBox editNome
+ 
+    // method line 1
+    .method public hidebysig  specialname  rtspecialname
+           instance default void .ctor ()  cil managed
+    {
+        // Method begins at RVA 0x20ec
+        // Code size 7 (0x7)
+        .maxstack 8
+        IL_0000:  ldarg.0
+        IL_0001:  call instance void class
+[System.Web]System.Web.UI.Page::.ctor()
+        IL_0006:  ret
+    } // end of method cadaluno::instance default void .ctor ()
+ 
+    // method line 2
+    .method family virtual  hidebysig
+           instance default void OnLoad (class
+[mscorlib]System.EventArgs args)  cil managed
+    {
+        .param [1]
+        // Method begins at RVA 0x20f4
+        // Code size 35 (0x23)
+        .maxstack 7
+        IL_0000:  ldarg.0
+        IL_0001:  ldarg.1
+        IL_0002:  call instance void class
+[System.Web]System.Web.UI.Control::OnLoad(class [mscorlib]System.Eve
+ntArgs)
+        IL_0007:  ldarg.0
+        IL_0008:  callvirt instance bool class
+[System.Web]System.Web.UI.Page::get_IsPostBack()
+        IL_000d:  brfalse IL_0022
+ 
+        IL_0012:  ldarg.0
+        IL_0013:  ldfld  class
+[System.Web]System.Web.UI.WebControls.TextBox cadastro.cadaluno::editNome
+        IL_0018:  ldstr "Ol\303\241 Mundo C\303\243o!"
+        IL_001d:  callvirt instance void class
+[System.Web]System.Web.UI.WebControls.TextBox::set_Text(string)
+        IL_0022:  ret
+    } // end of method cadaluno::instance default void OnLoad (class
+[mscorlib]System.EventArgs args)
+ 
+  } // end of class cadastro.cadaluno
+}
+
+In my system LANG=en_US.UTF-8
+
+Tried again with mcs from cvs head