Jython

Message3197

Author amak
Recipients amak, irmen
Date 2008年05月24日.14:28:15
SpamBayes Score 0.11157493
Marked as misclassified No
Message-id <1211639297.96.0.0658875540561.issue1033@psf.upfronthosting.co.za>
In-reply-to
Content
As pointed out by Irmen, this bug is caused by the String.getBytes call,
which encodes the string according to the platform default encoding.
The solution is to use a specific character set, like so
checksum.update(String.getBytes(s, 'iso-8859-1'))
History
Date User Action Args
2008年05月24日 14:28:18amaksetspambayes_score: 0.111575 -> 0.11157493
messageid: <1211639297.96.0.0658875540561.issue1033@psf.upfronthosting.co.za>
2008年05月24日 14:28:17amaksetspambayes_score: 0.111575 -> 0.111575
recipients: + amak, irmen
2008年05月24日 14:28:17amaklinkissue1033 messages
2008年05月24日 14:28:16amakcreate

Supported by Python Software Foundation,
Powered by Roundup

AltStyle によって変換されたページ (->オリジナル) /