By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,051 Members | 1,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,051 IT Pros & Developers. It's quick & easy.

Chr(13) : LOST

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.