>Some junk characters are written out after transformation while using
>UTF-16 encoding.
>...
>After this the result which I get carries 2 junk charcters ("��<")
>before the actual expected stuff.

I believe that the output has the correct bytes, but whatever you're
using to display the output is displaying the junk. It may not know
how to handle "real" UTF-16. We see those same two characters often
when using a non-UTF-16-aware display tool.
.................David Marston

Reply via email to