[Mono-list] problem with utf8 and mod_mono

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Tue, 15 Feb 2005 17:37:07 -0500

On Tue, 2005-02-15 at 14:14 +0100, Hubert FONGARNAND wrote:
>An asp.net project is running on a mod_mono apache server...
>All pages are encoded in utf8. When I use XSP all "יטג" are correctly rendered 
>but when I use apache, i got only "?" instead.
>My firefox recognize that the page charset is UTF-8 (the HTTP content-type 
>header seems to be send correctly)
>Does somebody has the same problem?

This is not a problem in mod_mono.

If you run xsp standalone, you'll probably get the same results. If you
want the classes in System.Web, which are the ones that open/read your
files, to interpret them as UTF8, you have to either save the file with
UTF8 BOF markers or use web.config (<system.web><globalization ...) or
use @Page attributes to tell the encoding of the files.