Bug 24629 - Incorrect Characters showing in ASP.NET pages
Summary: Incorrect Characters showing in ASP.NET pages
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Web (show other bugs)
Version: 3.6.0
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-11-18 18:09 UTC by alex
Modified: 2014-11-18 21:52 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description alex 2014-11-18 18:09:45 UTC
Some characters/html escape codes are displaying incorrectly on ASP.NET web pages running under xsp/mod_mono on 3.6 and 3.10
'        ' renders out as 'Â Â Â Â Â Â Â Â '
'’' renders out as '’'
'“' and '”' renders out as '“' and 'â€'
We know this is some kind of encoding issue, but our codebase has not changed, only a framework upgrade from 2.10.8/2.10.9 to 3.6/3.10.
Google searching suggested changing the encoding from utf-8 to a different encoding, but all that accomplished was changing all these incorrect characters to '?" like signs.
Has anyone else experienced this issue, and/or knows of a fix
Comment 1 Zoltan Varga 2014-11-18 19:07:56 UTC
-> system.web
Comment 2 alex 2014-11-18 21:52:54 UTC
Problem identified: https://weblogs.java.net/blog/kohsuke/archive/2008/01/a_and_nbsp_myst.html
We've applied the solution in here to the problematic pages at our development managers approval, and it seems to have worked; our pages are displaying correctly. However we don't know if the incorrect content type is a result of the updated mono framework, or the mod_mono/xsp application the sites run on.
Will double check a windows machine (code runs on ISS instead) once we've found a mono 3.x version for it that is compatible with our code.

Note You need to log in before you can comment on or make changes to this bug.