Pierre Greborio.NET

Talking about .NET world

Encoding support for web services

ASP.NET web services implementation lacks in the support for encoding. The default encoding is UTF-8 and there is only one way for changing that value: through a SoapExtension. Then, I developed a new class EncodingExtension which replace the default UTF-8 encoding to the encoding defined into the attribute. The source code is available on GotDotNet.

I hope to write one story in the near future...I just need  some (free) time :-)

Posted: Aug 23 2003, 12:18 AM by PierreG | with 2 comment(s)
Filed under:

Comments

Simon Fell said:

Why would you need this? UTF-8 can already handle every valid unicode character, and is required to be supported by every soap stack out there.
# August 22, 2003 7:52 PM

Pierre Greborio said:

There isn't a specific reason I did it, but some customers/developers asked to me how to do it.

Probabli the encoding become an issue when you share information between continents when you have several and radical differences between encodings.
# August 23, 2003 4:13 PM