Re: HttpWebResponse and special characters

Discussion in 'ASP .Net' started by Joerg Jooss, Aug 7, 2004.

  1. Joerg Jooss

    Joerg Jooss Guest

    Nat Thompson wrote:
    > We have an application that accesses a third party application over
    > http and receives an XML document as a response. We are using the
    > HttpWebRequest and HttpWebResponse objects to make a request and then
    > receive the response. This works great as long as the characters
    > being received are standard characters. However, when we get a
    > document that has special characters in it such as an umlaut the
    > response is truncated. It looks like the response is getting a
    > content length that represents the encoded response and terminating
    > the response stream at that point. An illustration follows below:
    >
    > Response From Server (What is actually transmitted)
    > <doc><node>ümlaut</node></doc>
    >
    > What we receive
    > <doc><node>ümlaut</node><


    Can you post some code? Are you using the correct character encoding to
    decode the received bytes?


    --
    Joerg Jooss
    Joerg Jooss, Aug 7, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stefan Mueller
    Replies:
    3
    Views:
    32,950
    Stefan Mueller
    Jul 23, 2006
  2. Replies:
    2
    Views:
    1,070
    Ingo Menger
    May 31, 2007
  3. rvino
    Replies:
    0
    Views:
    4,635
    rvino
    Aug 14, 2007
  4. Dave
    Replies:
    3
    Views:
    508
    nick chan
    Jul 2, 2008
  5. majna
    Replies:
    4
    Views:
    638
    Thomas 'PointedEars' Lahn
    Sep 19, 2007
Loading...

Share This Page