Skip to content

Commit 96e28df

Browse files
committed
encodings, changed 10528 to 10715 in decoder algorithm
per whatwg/encoding#53
1 parent cff96dc commit 96e28df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/encodings/conversion.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ function sjisDecoder (stream) {
631631
if ((byte >= 0x40 && byte <= 0x7E) || (byte >= 0x80 && byte <= 0xFC)) ptr = (lead - leadoffset) * 188 + byte - offset
632632
if (ptr == null) cp = null
633633
else cp = indexes.jis0208[ptr]
634-
if (cp == null && ptr >= 8836 && ptr <= 10528) {
634+
if (cp == null && ptr >= 8836 && ptr <= 10715) {
635635
temp = 0xE000 + ptr - 8836
636636
out += dec2char(temp)
637637
continue

0 commit comments

Comments
 (0)