Fixed accents bug

This commit is contained in:
Chen Yi-Cyuan
2014-07-27 20:10:10 +08:00
parent 7ee030aeb7
commit 7a5649ff78
5 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* js-md5 v0.1.0
* js-md5 v0.1.1
* https://github.com/emn178/js-md2
*
* Copyright 2014, emn178@gmail.com
@@ -67,7 +67,7 @@
var hasUTF8 = function(message) {
for(var i = message.length;i--;)
if(message.charCodeAt(i) > 255)
if(message.charCodeAt(i) > 127)
return true;
return false;
};