Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.webservices
Re: Web Service Iso encoded
Christian Weyer
8/23/2003 1:08:00 PM
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=e5ac0293-1481-47b0-916d-51...
Cheers,
--
Christian Weyer
Microsoft .NET & Service Oriented Architectures
[Microsoft Regional Director, Germany]
http://www.regionaldir...
* XML Web Services:
http://www.xmlwebse...
* Weblog:
http://weblogs.asp.n...
> Hi!
>
> Is it possible to change the encoding type from the default utf-8 to
> iso-8859-1 for a c# client?
> The client will send some german characters like ö ö or ä ä.
> The server is also implemented in c#/.net and uses Microsoft Web Service
> Enhancements...
> I searched google but couldn't found any solution. I tried the following
> without any result:
>
> Context.Response.ContentEncoding =
> System.Text.Encoding.GetEncoding("ISO-8859-1");
>
>
> <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
> in the config file of the client.
>
> XmlDeclaration xmldecl = xmlRet.CreateXmlDeclaration("1.0","ISO
> 8859-1","yes");
> xmlRet.InsertBefore(xmldecl, xmlRet.DocumentElement);
>
> and an inherited SoapExtension Class posted in another newsgroup.
>
http://groups.google.at/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&thread...
.
> 0210171453.4202ba5f%40posting.google.com&rnum=1&prev=/groups%3Fq%3Dchange%2B
> encoding%2B%2522web%2Bservice%2522%2Bc%2523%2Biso%26hl%3Dde%26lr%3D%26ie%3DU
> TF-8%26oe%3DUTF-8%26selm%3D67235c8e.0210171453.4202ba5f%2540posting.google.c
> om%26rnum%3D1
>
>
>
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Web Service Iso encoded
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password