The NTLM code uses the charset UnicodeLittleUnmarked a lot. The official page:
http://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html says they are the same, but different APIs use a different canonical name. I assume the methods will therefore take either. Might be worth changing to the slightly shorter - but more obviously 16 bit - name? In any case, extracting as a constant and documenting the choice would be a good idea. Especially since the code also uses US-ASCII or ASCII sometimes (why?) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
