[Mono-list] Encoding problems ... more details
Louis-Simon Houde
houdelou@hotmail.com
Mon, 18 Apr 2005 13:05:52 -0400
<html><div style='background-color:'><DIV class=RTE>Sorry for not giving enough information.</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>I have mono 1.0.6 and Apache 1.3.31 (comes with Slackware 10.0).</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>I want this page to be displayed correcty :</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE><%@ language="C#" EnableSessionState="false" AutoEventWireup="false" %></DIV>
<DIV class=RTE><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><BR><html><BR><head><BR><meta http-equiv="Content-Type" content="text/html; charset=iso8859-1"><BR><head><BR><body style="font-family:arial;font-size:8pt"><BR>téléphone<BR></body><BR></html></DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>I tried to set the globalization setting in the webapp.config and machine.config like this :</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE><globalization requestEncoding="iso8859-1"<BR> responseEncoding="iso8859-1"<BR> fileEncoding="iso8859-1"</DIV>
<DIV class=RTE> culture="en-US"<BR> uiculture="en-US" /><BR></DIV>
<DIV class=RTE>First I try to set it in the machine.conf and then in the webapp.config file.</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>None of the above worked.</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>So then, I tried to remove those lines from both files. </DIV>
<DIV class=RTE>Now it works but I don't understand why we can't set it in those files. ( Maybe now it uses Apache's default encoding settings ?? ). By default, the globalization tag in the machine.conf file is set to utf-8. I have to remove this line to work properly.</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Thanks</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Louis<BR></DIV>
<DIV class=RTE><BR> </DIV></div></html>