Skip to content

Commit 27caffc

Browse files
committed
Thanks for quick catch on my own utf8_encode patch glitch, jayarjo!
1 parent 1a7112c commit 27caffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/xml/utf8_encode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function utf8_encode (argString) {
3232
} else if (c1 > 127 && c1 < 2048) {
3333
enc = String.fromCharCode((c1 >> 6) | 192, (c1 & 63) | 128);
3434
} else {
35-
enc = String.fromCharCode((c1 >> 12) | 224, ((c1 >> 6) & 63) | 128), (c1 & 63) | 128);
35+
enc = String.fromCharCode((c1 >> 12) | 224, ((c1 >> 6) & 63) | 128, (c1 & 63) | 128);
3636
}
3737
if (enc !== null) {
3838
if (end > start) {

0 commit comments

Comments
 (0)