Skip to content

Commit

Permalink
encodings, changed 10528 to 10715 in decoder algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
r12a committed Sep 16, 2016
1 parent cff96dc commit 96e28df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/encodings/conversion.js
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ function sjisDecoder (stream) {
if ((byte >= 0x40 && byte <= 0x7E) || (byte >= 0x80 && byte <= 0xFC)) ptr = (lead - leadoffset) * 188 + byte - offset
if (ptr == null) cp = null
else cp = indexes.jis0208[ptr]
if (cp == null && ptr >= 8836 && ptr <= 10528) {
if (cp == null && ptr >= 8836 && ptr <= 10715) {
temp = 0xE000 + ptr - 8836
out += dec2char(temp)
continue
Expand Down

0 comments on commit 96e28df

Please sign in to comment.