[Mono-bugs] [Bug 722819] New: Globalization is ignored. Output is allways UTF8

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 7 17:50:18 EDT 2011


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

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


           Summary: Globalization is ignored. Output is allways UTF8
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.10.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: io-layer
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: kripper at imatronix.cl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;
Trident/5.0)

I'm running an ASP.NET 4 (Debian Mono 2.10.5-1) application.
Globalization configuration is ignored and mono is allways converting output to
UTF8.


Reproducible: Always

Steps to Reproduce:
1) Insert in web.config:

        <system.web>
                <globalization
                    fileEncoding="iso-8859-1"
                    requestEncoding="iso-8859-1"
                    responseEncoding="iso-8859-1"
                    culture="es-CL"
                    uiCulture="es-CL"
                    />
                ...

2) Try test.aspx with this content:

===
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
áéíóúñ (ISO-8859-1 characters)
===

Actual Results:  
test.aspx allways returns content converted to UTF-8.
If you change the encoding in the browser to use UTF-8, the content is
displayed correctly (but this is not the expected result, since the content
should be ISO-8859-1).

Expected Results:  
Characters should be displayed correctly using ISO-8859-1 on the browser.

-- 
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