[Mono-dev] globalization responseEncoding setting (web.config) broken since 3cc0e3f

Etienne Champetier champetier.etienne at gmail.com
Tue Oct 21 13:40:35 UTC 2014


Hi

since this PR https://github.com/mono/mono/pull/866, if you set
<globalization responseEncoding="utf-8"/>, charset=utf-8 isn't added to the
content-type header, thus breaking all accents ... (http default charset is
ISO-8859-1)

I've sent a radical PR (https://github.com/mono/mono/pull/1338) to revert
this commit, but it's maybe too radical since this commit appenrently fix
some bugs (the commit message is a bit short, and unit tests are in another
commit, so i missed them)

I've also openned a ticket
https://bugzilla.xamarin.com/show_bug.cgi?id=23810

I've tried to ping the original author on github (@linquize) but no luck.

The original PR says "This matches .NET behavior." but i'm really not sure
of that, i've just tested with a test web app  (only print 'OK') and there
is charset=utf-8 without any globalization config in web.config ...

How can i run the unit test on windows/.net?

Regards
Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141021/690f6512/attachment.html>


More information about the Mono-devel-list mailing list