Hi Christian,
If I try to encode it is OK for the transfer, but MII is giving me the "prolog" errors while trying to process the message. Writing it to a file does not parse the contents, and saves it as is.
I was trying to cut the whole part of the control characters out of the equation while parsing.
paul.