Re: WSE 2.0 and french text

From: Yves Reynhout (spamticide_at_yahoo.com)
Date: 03/23/05


Date: Wed, 23 Mar 2005 21:40:40 +0100

Sebastien Ollivier wrote:
> 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 ?
1. Does the SOAP response of your PHP web service specify the encoding
in the xml declaration (not as a HTTP header mind you)?

        <?xml version="1.0" encoding="ISO-8859-1"?>

2. If you have control over the PHP web services, change their encoding
to be UTF-8.



Relevant Pages

  • Re: WSE 2.0 and french text
    ... 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 ... >> These Web Services retrieve datas from an Oracle database. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: ?Unicode char(?) getting lost in ?HttpWebResponse.
    ... > The response XML also contains the encoding information in its XML header. ... but if the StreamReader is already trying to decode it as UTF-8 ... assuming your response isn't mostly made up of Japanese ...
    (microsoft.public.dotnet.framework)
  • Re: Scraped content via WebRequest: Fixing mis-rendered characters systemically?
    ... I agree with Alexey here that you need to specify the encoding to read the ... response since it's by default using UTF-8. ... However, using 1252 will only work for ASCII encoding (for example, Western ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Scraped content via WebRequest: Fixing mis-rendered characters systemically?
    ... I agree with Alexey here that you need to specify the encoding to read the ... response since it's by default using UTF-8. ... However, using 1252 will only work for ASCII encoding (for example, Western ...
    (microsoft.public.dotnet.framework.aspnet)
  • 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)

Loading