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)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 24629 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

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.