diff --git a/include/base64.js b/include/base64.js index c68b33aa..e9b3c522 100644 --- a/include/base64.js +++ b/include/base64.js @@ -116,7 +116,7 @@ decode: function (data, offset) { padding = (data.charAt(i) === pad); // Skip illegal characters and whitespace if (c === -1) { - console.error("Illegal character '" + data.charCodeAt(i) + "'"); + console.error("Illegal character code " + data.charCodeAt(i) + " at position " + i); continue; }