Packages

Public-specification codecs for Iconvex

Current section

Files

Jump to
iconvex_specs KPS9566_97.md
Raw

KPS9566_97.md

# KPS 9566-97 / ISO-IR-202
Iconvex supplies both transports of the DPRK KPS 9566-97 repertoire:
- `ISO-IR-202` is the registered 7-bit 94x94 graphic set (`0x21..0x7E`).
- `KPS-9566-97` is EUC-KP: ASCII plus the same repertoire at `0xA1..0xFE`.
The official registration declares exactly 8259 characters. WG2 N2564 maps 8176; the remaining 83 are resolved from the Unicode Consortium's later KPS table and WG2 N2374. The 2003 table explicitly records the two repertoire changes: KPS-97 `A8A6` is Kelvin (U+212A), while `ACCF` is the removed postal-mark composite. Because that composite still has no exact Unicode scalar, this codec assigns its stable historical KPS private-use slot U+F13A.
Nine non-revision N2564 cross-reference approximations or typos are corrected by the later Unicode mapping and independently checked against the registered glyph chart and Pike's KPS-97 implementation. No user-definable or empty positions are invented.
| Encoding | Transport | Decoder mappings | Canonical encoder mappings | BMP private-use mappings |
| --- | --- | ---: | ---: | ---: |
| `ISO-IR-202` | `iso_ir` | 8259 | 8259 | 23 |
| `KPS-9566-97` | `euc` | 8387 | 8387 | 23 |
Normalized mapping SHA-256: `ded760ddb190222b33d66f6b6e556af8713604b7da18e7014d74d5b3ee6d0e3b`
Current Unicode mapping SHA-256: `2ac236ba8c299211b4e17bf8cef9547453413701d132bcc9f0a09de97a153327` - https://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/KPS9566.TXT
Independent Pike cross-check: revision `4bf9adbd874894d2484de1664969de43e4206492`, source SHA-256 `28f856d12347859c9cb7f10361c813c4a4f3f7c9d33911544b50c7897748d860` - https://github.com/pikelang/Pike/blob/4bf9adbd874894d2484de1664969de43e4206492/src/modules/_Charset/tables.c
## Pinned primary sources
- `kp2ks_ucs-v09.txt`: `08f2d3879f259ef0660567c6e35efd65462d6b61344e9366936148edaa07ca71` - https://web.archive.org/web/20210403091419id_/http://asadal.pusan.ac.kr/~gimgs0/hangeul/code/3xreftbl/kp2ks_ucs-v09.txt
- `n2564.pdf`: `d5812c238e71afa6520e01d60d5b76294a4d4b4ccb176f376ad2468d0c279759` - https://www.unicode.org/wg2/docs/n2564.pdf
- `iso-ir-202.pdf`: `a3a7ac70e9098fdc0e7974849149f61855cb93bf93449580e2b35e9ae7db3c98` - https://itscj.ipsj.or.jp/ir/202.pdf
- `n2374.pdf`: `480594cb57c258b2f3b2966e21d79b8ba08cc22adc7255c31cf0532aa40275bb` - https://www.unicode.org/wg2/docs/n2374.pdf