提交 05e446c1 编写于 作者: K kohsuke

avoid a variable factor.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5807 71c3de6d-444a-0410-be80-ed276b4c234a
上级 9e1a855e
......@@ -337,7 +337,7 @@ public class Util {
public static String getDigestOf(String text) {
try {
return getDigestOf(new ByteArrayInputStream(text.getBytes()));
return getDigestOf(new ByteArrayInputStream(text.getBytes("UTF-8")));
} catch (IOException e) {
throw new Error(e);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册