[Mono-aspnet-list] Globalization still not working in Mono 2.10

Robert Jordan robertj at gmx.net
Fri Apr 29 05:36:45 EDT 2011


On 29.04.2011 11:29, Robert Jordan wrote:
> On 28.04.2011 22:00, H . wrote:
>> I am experimenting with Mono since Version 2.0. Ever since that time
>> Mono corrupted all special characters inside .aspx pages. There are
>> lot's of articles around different forums on the internet about this
>> topic. But nobody knows a solution. I have created a bug report (bug
>> 690675) which contains a test project that clearly demonstrates the
>> issue.
>
> You're missing the fileEncoding attribute:
>
> <globalization fileEncoding="utf-8" requestEncoding="utf-8"
> responseEncoding="utf-8" />

Of course, the fileEncoding attribute must match the encoding
of your files. Since the files from the bug entry are Latin1,
you must use

<globalization fileEncoding="iso-8859-1" />

See http://msdn.microsoft.com/en-us/library/hy4kkhe0%28v=VS.80%29.aspx

Robert



More information about the Mono-aspnet-list mailing list