[jdev] SASL debugging

David Waite dwaite at gmail.com
Sat Dec 10 15:12:15 CST 2005

> As you found, sometimes the .net framework actually does a utf-16
> encoding when you ask it for utf-8.  This has nailed me recently when
> trying to use webservices.  I ended up having to add and remove the
> 'marker' bytes (0xff, 0xfe) at the front of the byte array to get it
> to work properly.

Are you encoding using the io framework rather than the text encoding framework?

-David Waite

More information about the JDev mailing list