codecs.sbextra

← codecs

This module includes some additional single-byte encodings not specified by WHATWG.

As such, none of the codecs in this module should be used in HTML.

Classes

_class Cp037IncrementalDecoder(BaseEbcdicIncrementalDecoder)

IncrementalDecoder implementation for EBCDIC-037.

This is what might be considered the "default" EBCDIC set, and is used in the United States, the Netherlands, Portugal, Brazil, Australia and New Zealand, and on the ESA/390 in Canada. Amongst EBCDIC pages with the Latin-1 character repertoire, it is characterised by placing the hard brackets ([]) at 0xBA and 0xBB.

_property Cp037IncrementalDecoder.sbcs_decode

_class Cp037IncrementalEncoder(BaseEbcdicIncrementalEncoder)

IncrementalEncoder implementation for EBCDIC-037.

This is what might be considered the "default" EBCDIC set, and is used in the United States, the Netherlands, Portugal, Brazil, Australia and New Zealand, and on the ESA/390 in Canada. Amongst EBCDIC pages with the Latin-1 character repertoire, it is characterised by placing the hard brackets ([]) at 0xBA and 0xBB.

_property Cp037IncrementalEncoder.sbcs_encode

_class Cp1006IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-1006 (Urdu).

_property Cp1006IncrementalDecoder.decoding_map

_class Cp1006IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-1006 (Urdu).

_property Cp1006IncrementalEncoder.encoding_map

_class Cp1026IncrementalDecoder(BaseEbcdicIncrementalDecoder)

IncrementalDecoder implementation for EBCDIC-1026 (used in Turkish-speaking locales).

_property Cp1026IncrementalDecoder.sbcs_decode

_class Cp1026IncrementalEncoder(BaseEbcdicIncrementalEncoder)

IncrementalEncoder implementation for EBCDIC-1026 (used in Turkish-speaking locales).

_property Cp1026IncrementalEncoder.sbcs_encode

_class Cp1125IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-1125 (Ukrainian Cyrillic).

OEM-1125 is the Ukrainian standard RST 2018-91; due to both being modifications of the so-called Alternative Code Page, OEM-1125 and OEM-866 are compatible for the Russian/Bulgarian letters.

_property Cp1125IncrementalDecoder.decoding_map

_class Cp1125IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-1125 (Ukrainian Cyrillic).

OEM-1125 is the Ukrainian standard RST 2018-91; due to both being modifications of the so-called Alternative Code Page, OEM-1125 and OEM-866 are compatible for the Russian/Bulgarian letters.

_property Cp1125IncrementalEncoder.encoding_map

_class Cp1140IncrementalDecoder(BaseEbcdicIncrementalDecoder)

IncrementalDecoder implementation for EBCDIC-1140 (EBCDIC with Euro sign). In particular, this is the Euro update of EBCDIC-037.

_property Cp1140IncrementalDecoder.sbcs_decode

_class Cp1140IncrementalEncoder(BaseEbcdicIncrementalEncoder)

IncrementalEncoder implementation for EBCDIC-1140 (EBCDIC with Euro sign). In particular, this is the Euro update of EBCDIC-037.

_property Cp1140IncrementalEncoder.sbcs_encode

_class Cp273IncrementalDecoder(BaseEbcdicIncrementalDecoder)

IncrementalDecoder implementation for EBCDIC-273 (used in German-speaking locales). This is somewhat related to EBCDIC-500, but with several character swaps corresponding to the differences between DIN 66003 and ASCII.

_property Cp273IncrementalDecoder.sbcs_decode

_class Cp273IncrementalEncoder(BaseEbcdicIncrementalEncoder)

IncrementalEncoder implementation for EBCDIC-273 (used in German-speaking locales). This is somewhat related to EBCDIC-500, but with several character swaps corresponding to the differences between DIN 66003 and ASCII.

_property Cp273IncrementalEncoder.sbcs_encode

_class Cp424IncrementalDecoder(BaseEbcdicIncrementalDecoder)

IncrementalEncoder implementation for EBCDIC-424 (used in Hebrew-speaking locales).

_property Cp424IncrementalDecoder.sbcs_decode

_class Cp424IncrementalEncoder(BaseEbcdicIncrementalEncoder)

IncrementalEncoder implementation for EBCDIC-424 (used in Hebrew-speaking locales).

_property Cp424IncrementalEncoder.sbcs_encode

_class Cp437IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-437 (the default, hardware or United States DOS encoding)

_property Cp437IncrementalDecoder.decoding_map

_class Cp437IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-437 (the default, hardware or United States DOS encoding)

_property Cp437IncrementalEncoder.encoding_map

_class Cp500IncrementalDecoder(BaseEbcdicIncrementalDecoder)

IncrementalDecoder implementation for EBCDIC-500.

This is the so-called "International" EBCDIC locale, used in Belgium and Switzerland, as well as on the AS/400 in Canada. Amongst EBCDIC pages with the Latin-1 character repertoire, it is characterised by placing the hard brackets ([]) at 0x4A and 0x5A.

_property Cp500IncrementalDecoder.sbcs_decode

_class Cp500IncrementalEncoder(BaseEbcdicIncrementalEncoder)

IncrementalEncoder implementation for EBCDIC-500.

This is the so-called "International" EBCDIC locale, used in Belgium and Switzerland, as well as on the AS/400 in Canada. Amongst EBCDIC pages with the Latin-1 character repertoire, it is characterised by placing the hard brackets ([]) at 0x4A and 0x5A.

_property Cp500IncrementalEncoder.sbcs_encode

_class Cp720IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-720 (Arabic Letters with Box Drawing)

Note: OEM-720 competed with OEM-864 (which used a different layout, did not include box drawing characters, included positional forms rather than general letters for Arabic characters, and included separate East Arabic digits).

_property Cp720IncrementalDecoder.decoding_map

_class Cp720IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-720 (Arabic Letters with Box Drawing)

Note: OEM-720 competed with OEM-864 (which used a different layout, did not include box drawing characters, included positional forms rather than general letters for Arabic characters, and included separate East Arabic digits).

_property Cp720IncrementalEncoder.encoding_map

_class Cp737IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-737 (Greek with Box Drawing).

Note: OEM-737 competed with OEM-869 (which used a different Greek layout and preserved only a subset of the box drawing characters, but included letters with combined trema/acute).

_property Cp737IncrementalDecoder.decoding_map

_class Cp737IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-737 (Greek with Box Drawing).

Note: OEM-737 competed with OEM-869 (which used a different Greek layout and preserved only a subset of the box drawing characters, but included letters with combined trema/acute).

_property Cp737IncrementalEncoder.encoding_map

_class Cp775IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-775 (Baltic Rim)

_property Cp775IncrementalDecoder.decoding_map

_class Cp775IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-775 (Baltic Rim)

_property Cp775IncrementalEncoder.encoding_map

_class Cp850IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-850 (Western Europe and Canada)

_property Cp850IncrementalDecoder.decoding_map

_class Cp850IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-850 (Western Europe and Canada)

_property Cp850IncrementalEncoder.encoding_map

_class Cp852IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-852 (Central Europe)

_property Cp852IncrementalDecoder.decoding_map

_class Cp852IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-852 (Central Europe)

_property Cp852IncrementalEncoder.encoding_map

_class Cp855IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-855 (Balkan Cyrillic).

Note: OEM-855 competed with OEM-866 for Cyrillic; OEM-866 preserved all box drawing characters (rather then only a subset) and was more popular for Russian, but did not provide coverage for all of the different South Slavic Cyrillic orthographies, unlike OEM-855. Their layouts for Cyrillic are entirely different.

_property Cp855IncrementalDecoder.decoding_map

_class Cp855IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-855 (Balkan Cyrillic).

Note: OEM-855 competed with OEM-866 for Cyrillic; OEM-866 preserved all box drawing characters (rather then only a subset) and was more popular for Russian, but did not provide coverage for all of the different South Slavic Cyrillic orthographies, unlike OEM-855. Their layouts for Cyrillic are entirely different.

_property Cp855IncrementalEncoder.encoding_map

_class Cp856IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-856 (Hebrew).

Note: OEM-856 competed with OEM-862 for Hebrew, although they encoded the Hebrew letters in the same layout. OEM-862 preserved all box drawing characters, while OEM-856 preserved a subset only.

_property Cp856IncrementalDecoder.decoding_map

_class Cp856IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-856 (Hebrew).

Note: OEM-856 competed with OEM-862 for Hebrew, although they encoded the Hebrew letters in the same layout. OEM-862 preserved all box drawing characters, while OEM-856 preserved a subset only.

_property Cp856IncrementalEncoder.encoding_map

_class Cp857IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-857 (Turkish).

_property Cp857IncrementalDecoder.decoding_map

_class Cp857IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-857 (Turkish).

_property Cp857IncrementalEncoder.encoding_map

_class Cp858IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-858 (Western Europe and Canada with the Euro sign).

_property Cp858IncrementalDecoder.decoding_map

_class Cp858IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-858 (Western Europe and Canada with the Euro sign).

_property Cp858IncrementalEncoder.encoding_map

_class Cp860IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-860 (European Portugese).

_property Cp860IncrementalDecoder.decoding_map

_class Cp860IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-860 (European Portugese).

_property Cp860IncrementalEncoder.encoding_map

_class Cp861IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-861 (Icelandic).

_property Cp861IncrementalDecoder.decoding_map

_class Cp861IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-861 (Icelandic).

_property Cp861IncrementalEncoder.encoding_map

_class Cp862IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-862 (Hebrew and Box Drawing).

Note: OEM-862 competed with OEM-856 for Hebrew, although they encoded the Hebrew letters in the same layout. OEM-862 preserved all box drawing characters, while OEM-856 preserved a subset only.

_property Cp862IncrementalDecoder.decoding_map

_class Cp862IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-862 (Hebrew and Box Drawing).

Note: OEM-862 competed with OEM-856 for Hebrew, although they encoded the Hebrew letters in the same layout. OEM-862 preserved all box drawing characters, while OEM-856 preserved a subset only.

_property Cp862IncrementalEncoder.encoding_map

_class Cp863IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-863 (Canadian French).

_property Cp863IncrementalDecoder.decoding_map

_class Cp863IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-863 (Canadian French).

_property Cp863IncrementalEncoder.encoding_map

_class Cp864IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-864 (Arabic Positional Forms)

Note: OEM-864 competed with OEM-720 (which used a different layout, included box drawing characters, included general letters rather than positional forms of Arabic characters, and didn't include separate East Arabic digits).

_property Cp864IncrementalDecoder.decoding_map

_class Cp864IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-864 (Arabic Positional Forms)

Note: OEM-864 competed with OEM-720 (which used a different layout, included box drawing characters, included general letters rather than positional forms of Arabic characters, and didn't include separate East Arabic digits).

_property Cp864IncrementalEncoder.encoding_map

_class Cp865IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-865 (Continental Nordic)

_property Cp865IncrementalDecoder.decoding_map

_class Cp865IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-865 (Continental Nordic)

_property Cp865IncrementalEncoder.encoding_map

_class Cp869IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for OEM-869 (Greek).

Note: OEM-869 competed with OEM-737 (which used a different Greek layout and preserved all of the box drawing characters rather than a subset, but omitted letters with combined trema/acute).

_property Cp869IncrementalDecoder.decoding_map

_class Cp869IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for OEM-869 (Greek).

Note: OEM-869 competed with OEM-737 (which used a different Greek layout and preserved all of the box drawing characters rather than a subset, but omitted letters with combined trema/acute).

_property Cp869IncrementalEncoder.encoding_map

_class Cp875IncrementalDecoder(BaseEbcdicIncrementalDecoder)

IncrementalDecoder implementation for EBCDIC-875 (used in Greek-speaking locales).

_property Cp875IncrementalDecoder.sbcs_decode

_class Cp875IncrementalEncoder(BaseEbcdicIncrementalEncoder)

IncrementalEncoder implementation for EBCDIC-875 (used in Greek-speaking locales).

_property Cp875IncrementalEncoder.sbcs_encode

_class HpRoman8IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for the HP 8-bit Roman encoding.

_property HpRoman8IncrementalDecoder.decoding_map

_class HpRoman8IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the HP 8-bit Roman encoding.

_property HpRoman8IncrementalEncoder.encoding_map

_class Koi8TIncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for the KOI8-T (KOI-8 Cyrillic for Tajik) encoding.

_property Koi8TIncrementalDecoder.decoding_map

_class Koi8TIncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the KOI8-T (KOI-8 Cyrillic for Tajik) encoding.

_property Koi8TIncrementalEncoder.encoding_map

_class Kz1048IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for Kazakh standard KZ-1048.

This is an modification of Windows-1251 to add support for Kazakh.

_property Kz1048IncrementalDecoder.decoding_map

_class Kz1048IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for Kazakh standard KZ-1048.

This is an modification of Windows-1251 to add support for Kazakh.

_property Kz1048IncrementalEncoder.encoding_map

_class PalmosIncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for the PalmOS encoding.

This is a modification of ISO-8859-1 along similar lines to Windows-1252.

_property PalmosIncrementalDecoder.decoding_map

_class PalmosIncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the PalmOS encoding.

This is a modification of ISO-8859-1 along similar lines to Windows-1252.

_property PalmosIncrementalEncoder.encoding_map

_class Ptcp154IncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for Paratype PTCP-154 (Asian Cyrillic).

This is an modification of Windows-1251 to add support for Asian Cyrillic orthographies.

_property Ptcp154IncrementalDecoder.decoding_map

_class Ptcp154IncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for Paratype PTCP-154 (Asian Cyrillic).

This is an modification of Windows-1251 to add support for Asian Cyrillic orthographies.

_property Ptcp154IncrementalEncoder.encoding_map

_class XMacArabicIncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for the Macintosh Arabic encoding.

_property XMacArabicIncrementalDecoder.decoding_map

_class XMacArabicIncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the Macintosh Arabic encoding.

_property XMacArabicIncrementalEncoder.encoding_map

_class XMacCeIncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for the Macintosh Central European encoding.

_property XMacCeIncrementalDecoder.decoding_map

_class XMacCeIncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the Macintosh Central European encoding.

_property XMacCeIncrementalEncoder.encoding_map

_class XMacCroatianIncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for the Macintosh Croatian encoding.

In contrast to the Windows and ISO Central European encodings, the Macintosh Central European encoding did not include complete coverage for Gajica, hence a separate encoding was used. The two do not resemble one another except insofar as both derive from Macintosh Roman.

_property XMacCroatianIncrementalDecoder.decoding_map

_class XMacCroatianIncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the Macintosh Croatian encoding.

In contrast to the Windows and ISO Central European encodings, the Macintosh Central European encoding did not include complete coverage for Gajica, hence a separate encoding was used. The two do not resemble one another except insofar as both derive from Macintosh Roman.

_property XMacCroatianIncrementalEncoder.encoding_map

_class XMacFarsiIncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for the Macintosh Farsi encoding.

_property XMacFarsiIncrementalDecoder.decoding_map

_class XMacFarsiIncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the Macintosh Farsi encoding.

_property XMacFarsiIncrementalEncoder.encoding_map

_class XMacGreekIncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for the Macintosh Greek encoding.

_property XMacGreekIncrementalDecoder.decoding_map

_class XMacGreekIncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the Macintosh Greek encoding.

_property XMacGreekIncrementalEncoder.encoding_map

_class XMacIcelandicIncrementalDecoder(AsciiIncrementalDecoder)

IncrementalEncoder implementation for the Macintosh Icelandic encoding.

_property XMacIcelandicIncrementalDecoder.decoding_map

_class XMacIcelandicIncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the Macintosh Icelandic encoding.

_property XMacIcelandicIncrementalEncoder.encoding_map

_class XMacRomanianIncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for the Macintosh Romanian encoding.

_property XMacRomanianIncrementalDecoder.decoding_map

_class XMacRomanianIncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the Macintosh Romanian encoding.

_property XMacRomanianIncrementalEncoder.encoding_map

_class XMacTurkishIncrementalDecoder(AsciiIncrementalDecoder)

IncrementalDecoder implementation for the Macintosh Turkish encoding.

_property XMacTurkishIncrementalDecoder.decoding_map

_class XMacTurkishIncrementalEncoder(AsciiIncrementalEncoder)

IncrementalEncoder implementation for the Macintosh Turkish encoding.

_property XMacTurkishIncrementalEncoder.encoding_map