[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

You can get

and copy it over your /etc/mono/2_0 (or 4_0) one. That will fix it.


More information about the Mono-aspnet-list mailing list