Chr(13) : LOST

F

Felix

We have a problem with the Chr(13) and WebServices (we are using VB.NET
2003).
If we have a string that contains the Chr(13) and the Chr(10) (just the
vbCrLf characters) and we pass it through a web service call, then the web
service recieves the string without the Chr(13). It seems that the Web
Service "eats" all Chr(13) out of all the characters of the string. It also
happens when the WebService returns a string with this character. How can we
solve that problem?

TIA

Felix Gardel
 
S

S.M. Altaf [MVP]

Hi Felix,

Have you tried URL Encoding the newline character? You can try replacing it
with a %0A and that should get passed right, although your problem does seem
unusual at first glance.

-Altaf
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top