[Mono-bugs] [Bug 649369] 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
Fri Oct 29 17:34:18 EDT 2010



--- Comment #10 from Marek Habersack <mhabersack at novell.com> 2010-10-29 23:34:18 CEST ---
(In reply to comment #9)
> I think we need to find what is wrong first, looking at the error again I
> noticed a bug in error page. For some reason is has set windows-1252 which is
> ASP.NET bug and clearly wrong and that's why you are seeing ????? but I don't
The rewriter always uses UTF8 to write and it uses fileEncoding to read -
there's not much there that can go wrong. If the error page has windows-1252
then either responseEncoding is set to this cp, or the code changes the current
thread's culture.

> know what asp.net .cs rewriter really generated. Could you attach the generated
> file, in your case it's
> /var/www/html/ADSLWebService/App_Code/Ccb.cs
It won't be the rewritten file. The rewritten file is output somewhere in
/tmp/username-temp-aspnet/*, to see where is the dynamic base directory in
which files are compiled and written, you need to print the value of the
AppDomain.CurrentDomain.SetupInformation.DynamicBase property, e.g. by putting
this in your default.aspx:

<% Response.Write (AppDomain.CurrentDomain.SetupInformation.DynamicBase); %>

The generated file will be somewhere under that directory, it won't have the
Ccb.cs name, but you will be able to easily find it.

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