diff --git a/jerry-debugger/jerry-client-ws.html b/jerry-debugger/jerry-client-ws.html index b8f3f015c..f7f251a9b 100644 --- a/jerry-debugger/jerry-client-ws.html +++ b/jerry-debugger/jerry-client-ws.html @@ -249,9 +249,9 @@ function DebuggerClient(address) { var chr = string.charCodeAt(i); - if (chr >= 0x7ff) + if (chr > 0x7ff) { - byteLength ++; + byteLength++; } if (chr >= 0x7f) @@ -272,7 +272,7 @@ function DebuggerClient(address) { var chr = string.charCodeAt(i); - if (chr >= 0x7ff) + if (chr > 0x7ff) { result[offset] = 0xe0 | (chr >> 12); result[offset + 1] = 0x80 | ((chr >> 6) & 0x3f);