Web Service Marshalling changing \r\n to \n\n

Discussion in 'ASP .Net Web Services' started by wschaub, Sep 6, 2005.

  1. wschaub

    wschaub Guest

    Why is the Web Service marshalling code (xml serialisation) changing \r\n to
    \n\n, i.e. when passing a strign "Hello\r\nWorld" it arrives as
    "Hello\n\nWorld". Normally this is not a problem, however, we are generating
    a CRC on the data, which is obviously different after the conversion.

    Why is this happening and how can we avoid/force it from performing this
    transformation?
    wschaub, Sep 6, 2005
    #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. Replies:
    0
    Views:
    574
  2. Peter Flynn
    Replies:
    2
    Views:
    418
    Peter Flynn
    Aug 9, 2004
  3. Terence
    Replies:
    2
    Views:
    353
    Frank Schmitt
    Nov 12, 2003
  4. dev_chandok

    Marshalling in COM

    dev_chandok, Oct 26, 2004, in forum: C++
    Replies:
    1
    Views:
    679
    red floyd
    Oct 26, 2004
  5. Leo Violette
    Replies:
    0
    Views:
    999
    Leo Violette
    Apr 17, 2009
Loading...

Share This Page