[Mono-bugs] [Bug 649369] New: ASP.NET with tis-620 encoding C# source file not work on Mono 2.8

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 26 13:40:18 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=649369

https://bugzilla.novell.com/show_bug.cgi?id=649369#c0


           Summary: ASP.NET with tis-620  encoding C# source file not work
                    on Mono 2.8
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.8.x
          Platform: i386
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: cybrainx at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0;
Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
NET4.0C)

My ASP.NET with tis-620 encoding C# source file work on Mono 2.6.4 but the same
code  not work on Mono 2.8

- Some code in web.config

<system.web>
<globalization
          fileEncoding="tis-620"
          requestEncoding="tis-620"
          responseEncoding="tis-620"
          culture="th-TH"
          uiCulture="th-TH"
        />
- Compiler Output:

/var/www/html/ADSLWebService/App_Code/Ccb.cs(3922,13): error CS0152: The label
`case ??????????????:' already occurs in this switch st
/var/www/html/ADSLWebService/App_Code/Ccb.cs(3907,13): (Location of the symbol
related to previous error)
/var/www/html/ADSLWebService/App_Code/Ccb.cs(3929,13): error CS0152: The label
`case ??????????????:' already occurs in this switch st

- Compilation Source when error appear ?????? 

Line 3922:             case "???????": return 27;
Line 3923:             case "?????????": return 30;
Line 3924:             case "?????????": return 31;
Line 3925:             case "???????": return 32;
Line 3926:             case "????????": return 33;
Line 3927:             case "????????": return 34;
Line 3928:             case "????": return 35;
Line 3929:             case "???????": return 36;


Reproducible: Always

Steps to Reproduce:
1.Copy the same codes from Mono 2.6.4 server to Mono 2.8 server with the same
configuration.
Actual Results:  
-Thai language appear ???? in compilation source that make my asp.net with C#
website error.
-Some website can be compiled but appear square letter on page. 

Expected Results:  
can decode tis-620 C# source files.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list