The trouble is I have some legacy data files that I am attempting to send to
a web service. The file contains the \r and \n and \r\n character sequences.
If I pass a string (or any object) I expect it to arrive un-altered at the
web service! I should not have to work around this stuff. What other
characters are converted? I could not find anything in the documentation
about the \r conversion!
Andrew
"erymuzuan" wrote:
Try to use Environment.NewLine . for better result
regards
erymuzuan mustapa
Andrew wrote: I am using WSE2.0 to pass some strings from a client to a webservice (both
written in c#). I notice that something is changing the CR \ LF's in my
strings!
\n is ok
\r converted to \n
\r\n converted to \n
\n\r converted to \n\n
Why?
Are there any other characters that get secretly converted? This is my first
attempt at using web services and I am shocked that something is messing with
the contents of my string.
Any solutions?
Andrew