I found the solution to this problem. I18N was broken badly.
As one could expect it was related to GAC. I18N.Common.Manager called
Assembly.Load() without specifying the fully qualified name.

Patch is attached. Is it ok to commit?

Jarek

----- Original Message ----- 
From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 4:11 PM
Subject: [Mono-list] windows code pages?


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

Attachment: i18n.patch
Description: Binary data

Reply via email to