@@ -1456,8 +1456,6 @@ <h3 id="iso-2022-jp"><span class="secno">10.2 </span><dfn>iso-2022-jp</dfn></h3>
1456
1456
1457
1457
< h3 id ="shift_jis "> < span class ="secno "> 10.3 </ span > < dfn > shift_jis</ dfn > </ h3 >
1458
1458
1459
- < p > The < dfn id ="shift_jis-fallback-code-point "> shift_jis fallback code point</ dfn > is U+30FB.</ p >
1460
-
1461
1459
< p > The < dfn id ="shift_jis-lead "> shift_jis lead</ dfn > is initially 0x00.
1462
1460
1463
1461
< p > The < dfn id ="shift_jis-decoder "> shift_jis decoder</ dfn > (< a href ="#decoder "> decoder</ a > for < a href ="#shift_jis "> shift_jis</ a > ) is:
@@ -1486,17 +1484,12 @@ <h3 id="shift_jis"><span class="secno">10.3 </span><dfn>shift_jis</dfn></h3>
1486
1484
0x80 to 0xFC, run these substeps:
1487
1485
1488
1486
< ol >
1487
+ <!-- JAPANESE DRAGONS (more scary and crazy) -->
1488
+
1489
1489
< li > < p > Set < var title =""> offset</ var > to 0x40 if < var title =""> byte</ var > is
1490
1490
less than 0x7F, or 0x41 otherwise.
1491
1491
<!-- offset = byte < 0x7F ? 0x40 : 0x41 -->
1492
1492
1493
- < li > < p > If < var title =""> lead</ var > is in the range 0xF0 to 0xF9, this is a
1494
- < a href ="#decoder-error "> decoder error</ a > ; emit a code point whose value is
1495
- 0xE000 + (< var title =""> lead</ var > − 0xF0) × 188 +
1496
- < var title =""> byte</ var > − < var title =""> offset</ var > .
1497
-
1498
- <!--JAPANESE DRAGONS (more scary and crazy)-->
1499
-
1500
1493
< li > < p > Let < var title =""> adjust</ var > be 0, or 1 if < var title =""> byte</ var >
1501
1494
is less than 0x9F.
1502
1495
<!-- adjust = byte < 159 -->
@@ -1520,12 +1513,8 @@ <h3 id="shift_jis"><span class="secno">10.3 </span><dfn>shift_jis</dfn></h3>
1520
1513
(< var title =""> row</ var > , < var title =""> byte</ var > − < var title =""> offset</ var > ).
1521
1514
<!-- cell = byte - offset -->
1522
1515
1523
- < li >
1524
- < p > If < var title =""> code point</ var > is null, this is a
1525
- < a href ="#decoder-error "> decoder error</ a > ; emit the
1526
- < a href ="#shift_jis-fallback-code-point "> shift_jis fallback code point</ a > .
1527
-
1528
- < p class ="note "> This is not your normal < a href ="#fallback-code-point "> fallback code point</ a > !
1516
+ < li > < p > If < var title =""> code point</ var > is null, this is a
1517
+ < a href ="#decoder-error "> decoder error</ a > .
1529
1518
1530
1519
< li > < p > Emit < var title =""> code point</ var > .
1531
1520
</ ol >
@@ -1538,15 +1527,10 @@ <h3 id="shift_jis"><span class="secno">10.3 </span><dfn>shift_jis</dfn></h3>
1538
1527
code point whose value is < var title =""> byte</ var > .
1539
1528
<!-- Opera has 0x7E -->
1540
1529
1541
- < li > < p > If < var title =""> byte</ var > is 0xA0, emit U+F8F0.
1542
-
1543
1530
< li > < p > If < var title =""> byte</ var > is in the range 0xA1 to 0xDF, emit a
1544
1531
code point whose value is 0xFF61 − 0xA1 + < var title =""> byte</ var > .
1545
1532
<!-- katakana -->
1546
1533
1547
- < li > < p > If < var title =""> byte</ var > is in the range 0xFD to 0xFF, emit a
1548
- code point whose value is 0xF7F4 + < var title =""> byte</ var > .
1549
-
1550
1534
< li > < p > If < var title =""> byte</ var > is in the range 0x81 to 0x9F or
1551
1535
0xE0 to 0xFC, set < a href ="#shift_jis-lead "> shift_jis lead</ a > to < var title =""> byte</ var > and
1552
1536
continue.
0 commit comments