[Mono-dev] Difficulties with charset on asp.net applications and mod_mono with 1.9.1, most non-ASCII chars appear as ??

Angel Marin anmar at anmar.eu.org
Thu May 8 14:43:02 EDT 2008


Antti S. Lankila wrote:
> The short: whenever I put one of the multibyte chars into source file, 
> be it global.asax or foobar.aspx, I get several ? (question mark) 
> characters instead of the desired characters. An example:

[...]

> * this problem only seems to affect mod_mono. If I run the application 
> through xsp2, it works.

Then you might need to set LANG environment variable for mod-mono-server
process. Try:

MonoSetEnv LANG=en_US.UTF-8

Or whatever is appropriate in your environment.

Regards,
-- 
Angel Marin
http://anmar.eu.org/



More information about the Mono-devel-list mailing list