[Mono-dev] xsp - mod_mono charset problem

Kornél Pál kornelpal at gmail.com
Fri Jul 7 08:14:05 EDT 2006


Hi,

Use globalization configuration element just like with Microsoft ASP.NET:
http://msdn2.microsoft.com/en-us/library/hy4kkhe0.aspx

fileEncoding is the encoding of source files (.aspx, .ascx, ...)
responseEncoding is the encoding of input (posted data)
responseEncoding is the encoding of output (Content-Type: ...; charset)

Kornél

----- Original Message ----- 
From: "subscription.sapi" <subscription.sapi at apsystems.it>
To: <mono-devel-list at lists.ximian.com>
Sent: Friday, July 07, 2006 2:00 PM
Subject: [Mono-dev] xsp - mod_mono charset problem


We are porting a web application developed on Visual Studio .NET 2003
(obviously on microsoft Windows environment).

Copying through ftp all files from Windows on Linux, because probably
files are in ISO-8859-1 encoding on windows, same files encoding is
retained on linux filesystem. For apache connection can change
Content-Type... charset=ISO-8859-1 to force http flow to be consistent
with files encoding, but for web pages under mod_mono control, charset
encoding is always UTF-8.



Can we change charset default for mod_mono ?

there is a solution to this problem without changing file content
encoding format with command like: in vi saving files with ":w
++enc=utf-8" ?

what linux environment variable, if any, control mod_mono default
encoding ?



Thank you.




--------------------------------------------------------------------------------


> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 




More information about the Mono-devel-list mailing list