[Mono-bugs] [Bug 75252][Nor] Changed - ASP.NET failing to compile code with identifiers containing non-English characters in UTF-8

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 13 14:53:39 EDT 2005


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 kornelpal at hotmail.com.

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

--- shadow/75252	2005-06-13 14:48:03.000000000 -0400
+++ shadow/75252.tmp.23116	2005-06-13 14:53:39.000000000 -0400
@@ -196,6 +196,23 @@
 Test Case made with VS.NET 2003
 
 
 ------- Additional Comments From gonzalo at ximian.com  2005-06-13 14:42 -------
 You should use 'fileEncoding' attribute in web.config if your files
 are not encoded using the Encoding.Default.
+
+------- Additional Comments From kornelpal at hotmail.com  2005-06-13 14:53 -------
+I confirm that this is a bug.
+Extract the attachment (name it essaiutf.tar.gz) and try it using 
+XSP.
+
+It fails to compile. However if you remove <globalization 
+requestEncoding="utf-8" responseEncoding="utf-8" /> from Web.config 
+it will compile.
+
+The problem is the character "é" used in an identifier. If you 
+modify it to "e" it will work with UTF-8 as well.
+
+If the code is interpreted with Encoding.Default when no 
+fileEncoding is specified it should provide consistent behavour 
+regardless of requestEncoding and responseEncoding.
+


More information about the mono-bugs mailing list