[Mono-aspnet-list] WSDL generates UTF-16 whereas .Net does UTF-8
Gonzalo Paniagua Javier
gonzalo.mono at gmail.com
Fri Nov 19 12:50:51 EST 2010
On Fri, 2010-11-19 at 08:41 -0800, LiteWait wrote:
> Not sure what to tweak here.
>
> My ASP.Net deployment of my web service WSDL page generates:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> But the same page pushed to a server running Mono/Xsp/mod_mono generates:
>
> <?xml version="1.0" encoding="utf-16"?>
>
> I want the result to be utf-8, how can I fix this?
I just fixed it in
https://github.com/mono/mono/commit/4f3157b972885abc03137a9c9a6248b8832e7bf7
You can get
https://github.com/mono/mono/blob/4f3157b972885abc03137a9c9a6248b8832e7bf7/data/net_2_0/DefaultWsdlHelpGenerator.aspx
and copy it over your /etc/mono/2_0 (or 4_0) one. That will fix it.
-Gonzalo
More information about the Mono-aspnet-list
mailing list