[Mono-list] windows code pages?
Jaroslaw Kowalski
jaak@zd.com.pl
Wed, 5 May 2004 16:11:34 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_003A_01C432BB.A3023300
Content-Type: text/plain;
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
Hi!
I've noticed that I'm no longer able to process XML files encoded using =
windows-1252 and windows-1250 codepages. This applies to web.config, =
*.exe.config and any xml files I read. iso-8859-1, iso-8859-2 and utf-8 =
work fine.
I have ICU 2.8 installed from source and mono says it's using it. I =
wanted to check if the icudata contains the codepages so I've run:
# strings /opt/mono/lib/libicudata.so | grep "windows-125" | more
and it produced:
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1255
windows-1256-2000
windows-1256
windows-1257
windows-1258
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1255
windows-1256
windows-1257
windows-1258
windows-1256-2000
which suggests that ICU is compiled with the appropriate support for =
windows codepages.
Do you have any idea what might have happened ? I remember it working =
correctly about 2 months ago.
Jarek
------=_NextPart_000_003A_01C432BB.A3023300
Content-Type: text/html;
charset="iso-8859-2"
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=3Diso-8859-2">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I've noticed that I'm no longer able to =
process XML=20
files encoded using windows-1252 and windows-1250 codepages. This =
applies to=20
web.config, *.exe.config and any xml files I read. iso-8859-1, =
iso-8859-2 and=20
utf-8 work fine.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have ICU 2.8 installed from source =
and mono says=20
it's using it. I wanted to check if the icudata contains the codepages =
so I've=20
run:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2># strings /opt/mono/lib/libicudata.so | =
grep=20
"windows-125" | more</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>and it produced:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>windows-1250<BR>windows-1251<BR>windows-1252<BR>windows-1253<BR>=
windows-1254<BR>windows-1255<BR>windows-1256-2000<BR>windows-1256<BR>wind=
ows-1257<BR>windows-1258<BR>windows-1250<BR>windows-1251<BR>windows-1252<=
BR>windows-1253<BR>windows-1254<BR>windows-1255<BR>windows-1256<BR>window=
s-1257<BR>windows-1258<BR>windows-1256-2000</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>which suggests that ICU is compiled =
with the=20
appropriate support for windows codepages.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Do you have any idea what might have =
happened ? I=20
remember it working correctly about 2 months ago.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Jarek</FONT></DIV></BODY></HTML>
------=_NextPart_000_003A_01C432BB.A3023300--