Re: WSE 2.0 and french text

From: Sebastien Ollivier (SebastienOllivier_at_discussions.microsoft.com)
Date: 03/23/05


Date: Wed, 23 Mar 2005 00:37:03 -0800

My Web Service is sending a response encoding with ISO-8859-1.
If i change the settings of my HTTP Server in order to send a response
encoded with UTF-8, an exception is thrown in my C# application because of an
"é" letter included in the soap enveloppe.
I think it's normal because "é" is not UTF-8.

Is there any way to enable ISO-8859-1 encoding in WSE 2.0 ?

"Yves Reynhout" wrote:

> Sebastien Ollivier wrote:
> > I'm développing a C# Winform application that use PHP Web Services available
> > on an Apache HTTP Server.
> >
> > These Web Services retrieve datas from an Oracle database.
> > These datas can be in french.
> > In French, special letters such as "é" or "è" are used.
> >
> > I've generated a proxy wit WSE 2.0 and I'm using it to display my datas in a
> > ListBox.
> > Even if the special letters are in the Soap enveloppe of the HTTP Server
> > response, they are not displayed in my listbox.
> >
> > For example, the Name "Stéphane" is displayed "Stphane".
> >
> > If I generate a proxy without WSE 2.0 (without any other change in my
> > application), there is no problem. The text is correctly displayed.
> >
> >
> > Does anybody have an Idea ?
> >
> >
> This seems like an encoding issue. From what I remember you should use
> UTF-8 encoding with WSE 2.0 (There's no support for any other form of
> encoding).
>



Relevant Pages

  • Re: WSE 2.0 and french text
    ... > These Web Services retrieve datas from an Oracle database. ... > I've generated a proxy wit WSE 2.0 and I'm using it to display my datas in a ... > Even if the special letters are in the Soap enveloppe of the HTTP Server ... This seems like an encoding issue. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: WSE 2.0 and french text
    ... > If i change the settings of my HTTP Server in order to send a response ... Does the SOAP response of your PHP web service specify the encoding ... If you have control over the PHP web services, change their encoding ... to be UTF-8. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Whats wrong with rpc-literal? Why use doc-literal?
    ... To say it as clear and simple as possible: rpc style encoding is more ... If you're serious about Web Services and loosely coupled ... the burden of interpreting the XML document falls on the Web ... won't integrators just have to worry about the data ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: send and recv()hang even after set to nonblock.
    ... I am using HTTP server in my application. ... MessageSend(char *message, char *response) ... send (Socket, message, 0); ... but you say you set the socket non-blocking -- but then ...
    (comp.os.linux.networking)
  • RE: WSE 2.0 encoding error
    ... Microsoft MSDN Online Support Lead ... Subject: WSE 2.0 encoding error ... giberish from server service since it is output hebrew encoding response, ...
    (microsoft.public.dotnet.xml)

Loading