diff --git a/encoding/mbcs.js b/encoding/mbcs.js index 019c388..f221337 100644 --- a/encoding/mbcs.js +++ b/encoding/mbcs.js @@ -307,7 +307,7 @@ util.inherits(module.exports.big5, mbcs); * packed into an int. */ function eucNextChar(iter, det) { - it.index = it.nextIndex; + iter.index = iter.nextIndex; iter.error = false; var firstByte = 0; var secondByte = 0;