Weird characters in communication thru Sockets

Apr 5 2006 1:20 PM
HI all,

I am sending an xml thru sockets (NetworkStream) but when the buffer is reading by the client it arrives with some weird characters. How can I avoid them? or remove them?.

The buffer arrives like this:

"^\0\0\0\0\0\0\0<terminalTagEvent time=\"2004-02-02T06:37:15+01:00\"> <tagEvent> <event> Yard Location</ ......"

Thanks in advance.
Yaddif