ISO 2033

From HandWiki
Revision as of 04:49, 27 June 2023 by Jslovo (talk | contribs) (simplify)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Standard defining character encodings for the OCR-A, OCR-B and MICR E-13B machine-recognisable fonts

The ISO 2033:1983 standard ("Coding of machine readable characters (MICR and OCR)")[1] defines character sets for use with Optical Character Recognition or Magnetic Ink Character Recognition systems. The Japanese standard JIS X 9010:1984 ("Coding of machine readable characters (OCR and MICR)", originally designated JIS C 6229-1984) is closely related.[2]

Character set for OCR-A

The version of the encoding for the OCR-A font registered with the ISO-IR registry as ISO-IR-91 is the Japanese (JIS X 9010 / JIS C 6229) version, which differs from the encoding defined by ISO 2033 only in the addition of a Yen sign at 5C.[2]

ISO 2033 and JIS C 6229 OCR-A set
0 1 2 3 4 5 6 7 8 9 A B C D E F
NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US
 SP  " £
00A3
$ % & ' {
007B
}
007D
* + , - . /
0 1 2 3 4 5 6 7 8 9 : ;
2440
{{{2}}}
2441
?
A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z ¥
00A5

2442
| DEL
  Redefined compared to JIS-Roman

Character set for OCR-B

The version of the G0 set for the OCR-B font registered with the ISO-IR registry as ISO-IR-92 is the Japanese (JIS X 9010 / JIS C 6229) version, which differs from the encoding defined by ISO 2033 only in being based on JIS-Roman (with a dollar sign at 0x24 and a Yen sign at 0x5C) rather than on the ISO 646 IRV (with a backslash at 0x5C and, at the time, a universal currency sign (¤) at 0x24).[3] Besides those code points, it differs from ASCII only in omitting the backtick (`) and tilde (~).[3] An additional supplementary set registered as ISO-IR-93 assigns the pound sign (£), universal currency sign (¤) and section sign (§) to their ISO-8859-1 codepoints, and the backslash to the ISO-8859-1 codepoint for the Yen sign.[4]

Character set for JIS X 9008 (JIS C 6257)

JIS X 9010 (JIS C 6229) also defines character sets for the JIS X 9008:1981 (formerly JIS C 6257-1981) "hand-printed" OCR font.[5]:fn1 These include subsets of the JIS X 0201 Roman set (registered as ISO-IR-94 and omitting the backtick (`), lowercase letters, curly braces ({, }) and overline (‾)),[5] and kana set (registered as ISO-IR-96 and omitting the East Asian style comma (、) and full stop (。), the interpunct (・) and the small kana),[6] in addition to a set (registered as ISO-IR-95) containing only the backslash, which is assigned to the same code point as in ISO-IR-93.[7]

The JIS C 6527 font stylises the slash[5] and backslash[7] characters with a doubled appearance. The character names given are "Solidus"[5] and "Reverse Solidus",[7] matching the Unicode character names for the ASCII slash and backslash.[8] However, the Unicode Optical Character Recognition block includes an additional code point for an "OCR Double Backslash" (⑊), although not for a double (forward) slash,[9] although a double slash is available elsewhere, as U+2AFD DOUBLE SOLIDUS OPERATOR.

Character set for E-13B

The MICR E-13B font, showing the ISO-IR-98 character repertoire.

The ISO-IR-98 encoding defined by ISO 2033 encodes the character repertoire of the E13B font, as used with magnetic ink character recognition.[10] Although ISO 2033 also specifies other encodings, the encoding for E-13B is the encoding referred to as ISO_2033_1983 by Perl libintl,[11] and as ISO_2033-1983 or csISO2033 by the IANA.[12] Other registered labels include iso-ir-98, its ISO-IR registration number, and simply e13b.[12]

The digits are preserved in their ASCII locations. Letters and symbols unavailable in the E13B font are omitted, while specialised punctuation for bank cheques included in the E13B font is added. The same symbols are available in Unicode in the Optical Character Recognition block.

ISO 2033:1983 E-13B set[11]
0 1 2 3 4 5 6 7 8 9 A B C D E F
NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US
 SP 
0 1 2 3 4 5 6 7 8 9
2446

2447

2448

2449
DEL
  Redefined compared to ASCII

References

  1. ISO/IEC JTC 1/SC 2 (1983), Information processing — Coding of machine readable characters (MICR and OCR), ISO, ISO 2033:1983, https://www.iso.org/standard/6806.html 
  2. 2.0 2.1 ISO/TC97/SC2 (1985-08-01), ISO-IR-91: Japanese OCR-A Graphic Character Set, ITSCJ/IPSJ, https://www.itscj.ipsj.or.jp/iso-ir/091.pdf 
  3. 3.0 3.1 ISO/TC97/SC2 (1985-08-01), ISO-IR-92: Japanese OCR-B Basic Graphic Character Set, ITSCJ/IPSJ, https://www.itscj.ipsj.or.jp/iso-ir/092.pdf 
  4. ISO/TC97/SC2 (1985-08-01), ISO-IR-93: Japanese OCR-B - Additional Graphic Character Set, ITSCJ/IPSJ, https://www.itscj.ipsj.or.jp/iso-ir/093.pdf 
  5. 5.0 5.1 5.2 5.3 ISO/TC97/SC2 (1985-08-01), ISO-IR-94: Japanese Basic Hand-printed Graphic Character Set for OCR, ITSCJ/IPSJ, https://www.itscj.ipsj.or.jp/iso-ir/094.pdf 
  6. ISO/TC97/SC2 (1985-08-01), ISO-IR-96: Katakana Hand-printed Graphic Character Set for OCR, ITSCJ/IPSJ, https://www.itscj.ipsj.or.jp/iso-ir/096.pdf 
  7. 7.0 7.1 7.2 ISO/TC97/SC2 (1985-08-01), ISO-IR-95: Japanese Additional Hand-printed Graphic Character Set for OCR, ITSCJ/IPSJ, https://www.itscj.ipsj.or.jp/iso-ir/095.pdf 
  8. Unicode Consortium, "C0 Controls and Basic Latin", The Unicode Standard, https://www.unicode.org/charts/PDF/U0000.pdf 
  9. Unicode Consortium, "Optical Character Recognition", The Unicode Standard, https://www.unicode.org/charts/PDF/U2440.pdf 
  10. ISO/TC97/SC2 (1985-08-01), ISO-IR-98: A set of 14 graphic characters of the E13B font, ITSCJ/IPSJ, https://www.itscj.ipsj.or.jp/iso-ir/098.pdf 
  11. 11.0 11.1 Flohr, Guido. "Conversion routines for ISO_2033_1983". libintl. http://search.cpan.org/~guido/libintl-perl/lib/Locale/RecodeData/ISO_2033_1983.pm. 
  12. 12.0 12.1 "Character Sets". IANA. https://www.iana.org/assignments/character-sets/character-sets.xhtml. 

External links