[Mono-bugs] [Bug 690675] Globalization still not working in Mono 2.10

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 4 13:56:55 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=690675#c2


--- Comment #2 from QuickJack . <test051102 at hotmail.com> 2011-05-04 17:56:54 UTC ---
I have analyzed the issue further by modifying the <globalization> section to
some different values. The text displayed for the test.htm file is always „ 
für Flöhe älter als daß“. Below you will find what is displayed for
Default.aspx depending on different settings of the <globalization> section.

(1) <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
Default.aspx: „f�r Fl�he �lter als da�“

(2) <globalization requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"
/>
Default.aspx: „f?r Fl?he ?lter als da?“

(3) <globalization requestEncoding="utf-8" responseEncoding="utf-8"
fileEncoding="utf-8"/>
Default.aspx: „f�r Fl�he �lter als da�“

(4) <globalization requestEncoding="utf-8" responseEncoding="utf-8"
fileEncoding="iso-8859-1"/>
Default.aspx: „für Flöhe älter als daß“

(5) <globalization requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"
fileEncoding="iso-8859-1"/>
Default.aspx: „für Flöhe älter als daß“

By looking at the results we can make the following conclusions:

(1) To have an ASP.NET application which is created by VS2008/2010 running
under Mono without severe encoding bugs one has to add a globalization section
which contains at least fileEncoding=“iso-8859-1“.

(2) Mono's ASP.NET engine cannot display simple html files without corrupting
it's encoding. The same html file is displayed correctly when directly opened/
displayed using FireFox. This significantly reduces Mono's usability in certain
web applications.

(3) I cannot see the point why utf-8 encoding produces the above mentioned
problems. As far as I know, utf-8 encoding is the default in .Net Framework.

(4) I cannot see the point why Mono needs a <globalization> section when .Net
Framework does not.

I guess there are more encoding problems because my already completed web
applications have all sorts of encoding problems even after adding the above
mentioned <globalization> section. But I cannot yet provide an appropriate
sample application.

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


More information about the mono-bugs mailing list