Archived Forum Post

Index of archived forum posts

Question:

encoding occurs when using sendstring for chilkatsocket component

Sep 02 '13 at 03:31

i am trying to send a xml file formatted in a string with the sendstring command. The receiving software returns an error that it is not a valid xml. The string i send is <?xml version="1.0"?> what the other software is receiving is & l t ; ?xml version="1.0"? & g t ; (in the preview & l t; is converted to <, so i included spaces) Is there some kind of url/html conversion done at the string,is it possible to prevent this for the strings send by chilkatsocket.


Answer

Arnold,

The Chilkat Socket's SendString method does not do what you claim. Something else must be causing whatever behavior you are seeing. I can assure you that SendString does not do it.


Answer

Okay, i will look further then.