That's what the java sasl provider does. Hence, filing bug and using digest auth which lets you specify the charset and shouldn't cause this problem.
On 6/4/08, Robert Greig <[EMAIL PROTECTED]> wrote: > 2008/6/4 Aidan Skinner <[EMAIL PROTECTED]>: > >> I've attached a small snippet that I'm going to work into a proper >> test case for when I file the bug, the output should be >> ff724187be5f9d4df6fd93a7dce660c9 > > In your sample program, why do you convert your password into UTF-8 > bytes - which makes your byte array 21 bytes long due to the > particular chars you chose? > > If you encode into an 8 bit characterset like ISO-8859-1 you get the > result you expect. > > RG > -- Sent from Google Mail for mobile | mobile.google.com aim/y!:aidans42 g:[EMAIL PROTECTED] http://aidan.skinner.me.uk/ "We belong to nobody and nobody belongs to us. We don't even belong to each other."
