468,733 Members | 2,239 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,733 developers. It's quick & easy.

Chr(13) : LOST

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
Nov 23 '05 #1
1 2027
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
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"Felix" <fg*****@ad-hoc.net> wrote in message
news:O9**************@TK2MSFTNGP12.phx.gbl...
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

Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Eddie B. | last post: by
6 posts views Thread by C L Humphreys | last post: by
2 posts views Thread by lauren quantrell | last post: by
3 posts views Thread by Alberto | last post: by
10 posts views Thread by Dan Nash | last post: by
5 posts views Thread by Computer Guru | last post: by
1 post views Thread by CARIGAR | last post: by
xarzu
2 posts views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.