[Mono-list] Encoding problems utf-8 iso8859-1

Alexandr Sorokin alex@sks.uz
Mon, 18 Apr 2005 18:05:30 +0500


This is a multi-part message in MIME format.

------=_NextPart_000_01A3_01C54441.355C1F80
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

Hi Louis.

I have mod_mono with apache 2.0.40 and mono 1.1.6.
My page has been wrote in win-1251 encoding, but all page generated for =
client having code in utf-8.
This is my configuration in web.config

<globalization
    fileEncoding=3D"windows-1251"
    requestEncoding=3D"utf-8"
    responseEncoding=3D"utf-8"
    culture=3D"ru-RU"
    uiCulture=3D"ru-RU"
/>
Maybe this example halp you in you problemm.

Alexandr

----- Original Message -----=20
  From: Louis-Simon Houde=20
  To: mono-list@lists.ximian.com=20
  Sent: Monday, April 18, 2005 5:11 PM
  Subject: [Mono-list] Encoding problems utf-8 iso8859-1


  I'm trying to make a simple asp.NET page.  I have mod_mono installed =
with apache.  When I write my page in utf-8 encoding, it works but not =
when I write it iso8859-1 wich is a standard also.  I've tried to change =
encoding settings in machine.config file without success.  Does anyone =
have had this problem?  Or is there any doc about encoding on mod_mono.  =
My Perl scripts and html pages work well and there is no problem with =
encoding.

  Maybe I'm not on the right list for this kind of question???

  Thanks!

  Louis
  _______________________________________________ Mono-list maillist - =
Mono-list@lists.ximian.com =
http://lists.ximian.com/mailman/listinfo/mono-list
------=_NextPart_000_01A3_01C54441.355C1F80
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dkoi8-r">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Louis.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have mod_mono with apache 2.0.40 and =
mono=20
1.1.6.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>My page&nbsp;has been wrote&nbsp;in =
win-1251=20
encoding, but all page generated&nbsp;for client having&nbsp;code in=20
utf-8.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>This is&nbsp;my configuration in=20
web.config</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;globalization<BR>&nbsp;&nbsp;&nbsp; =

fileEncoding=3D"windows-1251"<BR>&nbsp;&nbsp;&nbsp;&nbsp;requestEncoding=3D=
"utf-8"<BR>&nbsp;&nbsp;&nbsp;&nbsp;responseEncoding=3D"utf-8"<BR>&nbsp;&n=
bsp;&nbsp;&nbsp;culture=3D"ru-RU"<BR>&nbsp;&nbsp;&nbsp;&nbsp;uiCulture=3D=
"ru-RU"<BR>/&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Maybe this example halp you in you=20
problemm.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Alexandr</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dhoudelou@hotmail.com =
href=3D"mailto:houdelou@hotmail.com">Louis-Simon=20
  Houde</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dmono-list@lists.ximian.com=20
  =
href=3D"mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>=
 </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, April 18, 2005 =
5:11=20
PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mono-list] Encoding =
problems=20
  utf-8 iso8859-1</DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV class=3DRTE>I'm trying to make a simple asp.NET page.&nbsp; I =
have mod_mono=20
  installed with apache.&nbsp; When I write my page in utf-8 encoding, =
it works=20
  but not when I write it iso8859-1 wich is a standard also.&nbsp; I've =
tried to=20
  change encoding settings in machine.config file without success.&nbsp; =
Does=20
  anyone have had this problem?&nbsp; Or is there any doc about encoding =
on=20
  mod_mono.&nbsp; My Perl scripts and html pages work well and there is =
no=20
  problem with encoding.</DIV>
  <DIV class=3DRTE>&nbsp;</DIV>
  <DIV class=3DRTE>Maybe I'm not on the right list for this kind of=20
  question???</DIV>
  <DIV class=3DRTE>&nbsp;</DIV>
  <DIV class=3DRTE>Thanks!</DIV>
  <DIV class=3DRTE>&nbsp;</DIV>
  <DIV=20
  =
class=3DRTE>Louis</DIV></DIV>____________________________________________=
___=20
  Mono-list maillist - Mono-list@lists.ximian.com=20
  =
http://lists.ximian.com/mailman/listinfo/mono-list</BLOCKQUOTE></BODY></H=
TML>

------=_NextPart_000_01A3_01C54441.355C1F80--