Skip to content

Commit f0cfd4f

Browse files
committed
Correct Shift_JIS EUDC range
I introduced this range to account for erroneous trail bytes in 236196e. However, I messed up the length of the range and excluded almost the entirety of 0xF9. Fixes #53.
1 parent 41ac88b commit f0cfd4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Overview.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2430,7 +2430,7 @@ <h4 id="shift_jis-decoder"><span class="secno">13.3.1 </span><dfn>Shift_JIS deco
24302430
(<var>lead</var><var>lead offset</var>) × 188 + <var>byte</var><var>offset</var>.
24312431

24322432
<li>
2433-
<p>If <var>pointer</var> is in the range 8836 to 10528, inclusive, return a code point whose
2433+
<p>If <var>pointer</var> is in the range 8836 to 10715, inclusive, return a code point whose
24342434
value is 0xE000 − 8836 + <var>pointer</var>.
24352435
<!-- subtraction is done first to avoid upsetting compilers -->
24362436

Overview.src.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2347,7 +2347,7 @@ <h4><dfn>Shift_JIS decoder</dfn></h4>
23472347
(<var>lead</var> &minus; <var>lead offset</var>) &times; 188 + <var>byte</var> &minus; <var>offset</var>.
23482348

23492349
<li>
2350-
<p>If <var>pointer</var> is in the range 8836 to 10528, inclusive, return a code point whose
2350+
<p>If <var>pointer</var> is in the range 8836 to 10715, inclusive, return a code point whose
23512351
value is 0xE000 &minus; 8836 + <var>pointer</var>.
23522352
<!-- subtraction is done first to avoid upsetting compilers -->
23532353

0 commit comments

Comments
 (0)