Logo Search packages:      
Sourcecode: karrigell version File versions  Download package

k_encoding_charsets.py

#!/bin/env python
# -*- coding: ascii -*-
# file: k_encoding_charsets - automatically generated!!!
encoding2python_map = {   '037': 'cp037',
    '1026': 'cp1026',
    '1140': 'cp1140',
    '1250': 'cp1250',
    '1251': 'cp1251',
    '1252': 'cp1252',
    '1253': 'cp1253',
    '1254': 'cp1254',
    '1255': 'cp1255',
    '1256': 'cp1256',
    '1257': 'cp1257',
    '1258': 'cp1258',
    '424': 'cp424',
    '437': 'cp437',
    '500': 'cp500',
    '646': 'ascii',
    '775': 'cp775',
    '850': 'cp850',
    '852': 'cp852',
    '855': 'cp855',
    '857': 'cp857',
    '860': 'cp860',
    '861': 'cp861',
    '862': 'cp862',
    '863': 'cp863',
    '864': 'cp864',
    '865': 'cp865',
    '866': 'cp866',
    '869': 'cp869',
    '8859': 'latin_1',
    '932': 'cp932',
    '936': 'gbk',
    '949': 'cp949',
    '950': 'cp950',
    'ansi_x3.4_1968': 'ascii',
    'ansi_x3.4_1986': 'ascii',
    'ansi_x3_4_1968': 'ascii',
    'arabic': 'iso8859_6',
    'ascii': 'ascii',
    'asmo_708': 'iso8859_6',
    'big5': 'big5',
    'big5_hkscs': 'big5hkscs',
    'big5_tw': 'big5',
    'big5hkscs': 'big5hkscs',
    'chinese': 'gb2312',
    'cp037': 'cp037',
    'cp1026': 'cp1026',
    'cp1140': 'cp1140',
    'cp1250': 'cp1250',
    'cp1251': 'cp1251',
    'cp1252': 'cp1252',
    'cp1253': 'cp1253',
    'cp1254': 'cp1254',
    'cp1255': 'cp1255',
    'cp1256': 'cp1256',
    'cp1257': 'cp1257',
    'cp1258': 'cp1258',
    'cp1361': 'johab',
    'cp154': 'ptcp154',
    'cp367': 'ascii',
    'cp424': 'cp424',
    'cp437': 'cp437',
    'cp500': 'cp500',
    'cp775': 'cp775',
    'cp819': 'latin_1',
    'cp850': 'cp850',
    'cp852': 'cp852',
    'cp855': 'cp855',
    'cp857': 'cp857',
    'cp860': 'cp860',
    'cp861': 'cp861',
    'cp862': 'cp862',
    'cp863': 'cp863',
    'cp864': 'cp864',
    'cp865': 'cp865',
    'cp866': 'cp866',
    'cp869': 'cp869',
    'cp932': 'cp932',
    'cp936': 'gbk',
    'cp949': 'cp949',
    'cp950': 'cp950',
    'cp_gr': 'cp869',
    'cp_is': 'cp861',
    'csascii': 'ascii',
    'csbig5': 'big5',
    'cshproman8': 'hp_roman8',
    'csibm037': 'cp037',
    'csibm1026': 'cp1026',
    'csibm424': 'cp424',
    'csibm500': 'cp500',
    'csibm855': 'cp855',
    'csibm857': 'cp857',
    'csibm860': 'cp860',
    'csibm861': 'cp861',
    'csibm863': 'cp863',
    'csibm864': 'cp864',
    'csibm865': 'cp865',
    'csibm866': 'cp866',
    'csibm869': 'cp869',
    'csiso2022jp': 'iso2022_jp',
    'csiso2022jp2': 'iso2022_jp_2',
    'csiso2022kr': 'iso2022_kr',
    'csiso58gb231280': 'gb2312',
    'csisolatin1': 'latin_1',
    'csisolatin2': 'iso8859_2',
    'csisolatin3': 'iso8859_3',
    'csisolatin4': 'iso8859_4',
    'csisolatin5': 'iso8859_9',
    'csisolatin6': 'iso8859_10',
    'csisolatinarabic': 'iso8859_6',
    'csisolatincyrillic': 'iso8859_5',
    'csisolatingreek': 'iso8859_7',
    'csisolatinhebrew': 'iso8859_8',
    'cskoi8r': 'koi8_r',
    'csksc56011987': 'euc_kr',
    'cspc775baltic': 'cp775',
    'cspc850multilingual': 'cp850',
    'cspc862latinhebrew': 'cp862',
    'cspc8codepage437': 'cp437',
    'cspcp852': 'cp852',
    'csptcp154': 'ptcp154',
    'csshiftjis': 'shift_jis',
    'cyrillic': 'iso8859_5',
    'cyrillic_asian': 'ptcp154',
    'dbcs': 'mbcs',
    'ebcdic_cp_be': 'cp500',
    'ebcdic_cp_ca': 'cp037',
    'ebcdic_cp_ch': 'cp500',
    'ebcdic_cp_he': 'cp424',
    'ebcdic_cp_nl': 'cp037',
    'ebcdic_cp_us': 'cp037',
    'ebcdic_cp_wt': 'cp037',
    'ecma_114': 'iso8859_6',
    'ecma_118': 'iso8859_7',
    'elot_928': 'iso8859_7',
    'euc_cn': 'gb2312',
    'euc_jis2004': 'euc_jis_2004',
    'euc_jis_2004': 'euc_jis_2004',
    'euc_jisx0213': 'euc_jisx0213',
    'euc_jp': 'euc_jp',
    'euc_kr': 'euc_kr',
    'euccn': 'gb2312',
    'eucgb2312_cn': 'gb2312',
    'eucjis2004': 'euc_jis_2004',
    'eucjisx0213': 'euc_jisx0213',
    'eucjp': 'euc_jp',
    'euckr': 'euc_kr',
    'gb18030': 'gb18030',
    'gb18030_2000': 'gb18030',
    'gb2312': 'gb2312',
    'gb2312_1980': 'gb2312',
    'gb2312_80': 'gb2312',
    'gb_2312_80': 'gb2312',
    'gbk': 'gbk',
    'greek': 'iso8859_7',
    'greek8': 'iso8859_7',
    'hebrew': 'iso8859_8',
    'hkscs': 'big5hkscs',
    'hp_roman8': 'hp_roman8',
    'hz': 'hz',
    'hz_gb': 'hz',
    'hz_gb_2312': 'hz',
    'hzgb': 'hz',
    'ibm037': 'cp037',
    'ibm039': 'cp037',
    'ibm1026': 'cp1026',
    'ibm1140': 'cp1140',
    'ibm367': 'ascii',
    'ibm424': 'cp424',
    'ibm437': 'cp437',
    'ibm500': 'cp500',
    'ibm775': 'cp775',
    'ibm819': 'latin_1',
    'ibm850': 'cp850',
    'ibm852': 'cp852',
    'ibm855': 'cp855',
    'ibm857': 'cp857',
    'ibm860': 'cp860',
    'ibm861': 'cp861',
    'ibm862': 'cp862',
    'ibm863': 'cp863',
    'ibm864': 'cp864',
    'ibm865': 'cp865',
    'ibm866': 'cp866',
    'ibm869': 'cp869',
    'iso2022_jp': 'iso2022_jp',
    'iso2022_jp_1': 'iso2022_jp_1',
    'iso2022_jp_2': 'iso2022_jp_2',
    'iso2022_jp_2004': 'iso2022_jp_2004',
    'iso2022_jp_3': 'iso2022_jp_3',
    'iso2022_jp_ext': 'iso2022_jp_ext',
    'iso2022_kr': 'iso2022_kr',
    'iso2022jp': 'iso2022_jp',
    'iso2022jp_1': 'iso2022_jp_1',
    'iso2022jp_2': 'iso2022_jp_2',
    'iso2022jp_2004': 'iso2022_jp_2004',
    'iso2022jp_3': 'iso2022_jp_3',
    'iso2022jp_ext': 'iso2022_jp_ext',
    'iso2022kr': 'iso2022_kr',
    'iso646_us': 'ascii',
    'iso8859': 'latin_1',
    'iso8859_10': 'iso8859_10',
    'iso8859_11': 'iso8859_11',
    'iso8859_13': 'iso8859_13',
    'iso8859_14': 'iso8859_14',
    'iso8859_15': 'iso8859_15',
    'iso8859_16': 'iso8859_16',
    'iso8859_2': 'iso8859_2',
    'iso8859_3': 'iso8859_3',
    'iso8859_4': 'iso8859_4',
    'iso8859_5': 'iso8859_5',
    'iso8859_6': 'iso8859_6',
    'iso8859_7': 'iso8859_7',
    'iso8859_8': 'iso8859_8',
    'iso8859_9': 'iso8859_9',
    'iso_2022_jp': 'iso2022_jp',
    'iso_2022_jp_1': 'iso2022_jp_1',
    'iso_2022_jp_2': 'iso2022_jp_2',
    'iso_2022_jp_2004': 'iso2022_jp_2004',
    'iso_2022_jp_3': 'iso2022_jp_3',
    'iso_2022_jp_ext': 'iso2022_jp_ext',
    'iso_2022_kr': 'iso2022_kr',
    'iso_646.irv_1991': 'ascii',
    'iso_8859_1': 'latin_1',
    'iso_8859_10': 'iso8859_10',
    'iso_8859_10_1992': 'iso8859_10',
    'iso_8859_11': 'iso8859_11',
    'iso_8859_11_2001': 'iso8859_11',
    'iso_8859_13': 'iso8859_13',
    'iso_8859_14': 'iso8859_14',
    'iso_8859_14_1998': 'iso8859_14',
    'iso_8859_15': 'iso8859_15',
    'iso_8859_16': 'iso8859_16',
    'iso_8859_16_2001': 'iso8859_16',
    'iso_8859_1_1987': 'latin_1',
    'iso_8859_2': 'iso8859_2',
    'iso_8859_2_1987': 'iso8859_2',
    'iso_8859_3': 'iso8859_3',
    'iso_8859_3_1988': 'iso8859_3',
    'iso_8859_4': 'iso8859_4',
    'iso_8859_4_1988': 'iso8859_4',
    'iso_8859_5': 'iso8859_5',
    'iso_8859_5_1988': 'iso8859_5',
    'iso_8859_6': 'iso8859_6',
    'iso_8859_6_1987': 'iso8859_6',
    'iso_8859_7': 'iso8859_7',
    'iso_8859_7_1987': 'iso8859_7',
    'iso_8859_8': 'iso8859_8',
    'iso_8859_8_1988': 'iso8859_8',
    'iso_8859_9': 'iso8859_9',
    'iso_8859_9_1989': 'iso8859_9',
    'iso_celtic': 'iso8859_14',
    'iso_ir_100': 'latin_1',
    'iso_ir_101': 'iso8859_2',
    'iso_ir_109': 'iso8859_3',
    'iso_ir_110': 'iso8859_4',
    'iso_ir_126': 'iso8859_7',
    'iso_ir_127': 'iso8859_6',
    'iso_ir_138': 'iso8859_8',
    'iso_ir_144': 'iso8859_5',
    'iso_ir_148': 'iso8859_9',
    'iso_ir_149': 'euc_kr',
    'iso_ir_157': 'iso8859_10',
    'iso_ir_166': 'tis_620',
    'iso_ir_199': 'iso8859_14',
    'iso_ir_226': 'iso8859_16',
    'iso_ir_58': 'gb2312',
    'iso_ir_6': 'ascii',
    'jisx0213': 'euc_jis_2004',
    'johab': 'johab',
    'koi8_r': 'koi8_r',
    'korean': 'euc_kr',
    'ks_c_5601': 'euc_kr',
    'ks_c_5601_1987': 'euc_kr',
    'ks_c_5601_1989': 'euc_kr',
    'ks_x_1001': 'euc_kr',
    'ksc5601': 'euc_kr',
    'ksc_5601': 'euc_kr',
    'ksx1001': 'euc_kr',
    'l1': 'latin_1',
    'l10': 'iso8859_16',
    'l2': 'iso8859_2',
    'l3': 'iso8859_3',
    'l4': 'iso8859_4',
    'l5': 'iso8859_9',
    'l6': 'iso8859_10',
    'l8': 'iso8859_14',
    'latin': 'latin_1',
    'latin1': 'latin_1',
    'latin10': 'iso8859_16',
    'latin2': 'iso8859_2',
    'latin3': 'iso8859_3',
    'latin4': 'iso8859_4',
    'latin5': 'iso8859_9',
    'latin6': 'iso8859_10',
    'latin8': 'iso8859_14',
    'latin_1': 'latin_1',
    'latin_9': 'iso8859_15',
    'mac_cyrillic': 'mac_cyrillic',
    'mac_greek': 'mac_greek',
    'mac_iceland': 'mac_iceland',
    'mac_latin2': 'mac_latin2',
    'mac_roman': 'mac_roman',
    'mac_turkish': 'mac_turkish',
    'maccentraleurope': 'mac_latin2',
    'maccyrillic': 'mac_cyrillic',
    'macgreek': 'mac_greek',
    'maciceland': 'mac_iceland',
    'maclatin2': 'mac_latin2',
    'macroman': 'mac_roman',
    'macturkish': 'mac_turkish',
    'mbcs': 'mbcs',
    'ms1361': 'johab',
    'ms932': 'cp932',
    'ms936': 'gbk',
    'ms949': 'cp949',
    'ms950': 'cp950',
    'ms_kanji': 'cp932',
    'mskanji': 'cp932',
    'pt154': 'ptcp154',
    'ptcp154': 'ptcp154',
    'r8': 'hp_roman8',
    'roman8': 'hp_roman8',
    's_jis': 'shift_jis',
    's_jis_2004': 'shift_jis_2004',
    's_jisx0213': 'shift_jisx0213',
    'shift_jis': 'shift_jis',
    'shift_jis_2004': 'shift_jis_2004',
    'shift_jisx0213': 'shift_jisx0213',
    'shiftjis': 'shift_jis',
    'shiftjis2004': 'shift_jis_2004',
    'shiftjisx0213': 'shift_jisx0213',
    'sjis': 'shift_jis',
    'sjis_2004': 'shift_jis_2004',
    'sjisx0213': 'shift_jisx0213',
    'tactis': 'tactis',
    'thai': 'iso8859_11',
    'tis260': 'tactis',
    'tis620': 'tis_620',
    'tis_620': 'tis_620',
    'tis_620_0': 'tis_620',
    'tis_620_2529_0': 'tis_620',
    'tis_620_2529_1': 'tis_620',
    'u16': 'utf_16',
    'u7': 'utf_7',
    'u8': 'utf_8',
    'u_jis': 'euc_jp',
    'uhc': 'cp949',
    'ujis': 'euc_jp',
    'unicodebigunmarked': 'utf_16_be',
    'unicodelittleunmarked': 'utf_16_le',
    'us': 'ascii',
    'us_ascii': 'ascii',
    'utf': 'utf_8',
    'utf16': 'utf_16',
    'utf7': 'utf_7',
    'utf8': 'utf_8',
    'utf8_ucs2': 'utf_8',
    'utf8_ucs4': 'utf_8',
    'utf_16': 'utf_16',
    'utf_16_be': 'utf_16_be',
    'utf_16_le': 'utf_16_le',
    'utf_16be': 'utf_16_be',
    'utf_16le': 'utf_16_le',
    'utf_7': 'utf_7',
    'utf_8': 'utf_8',
    'windows_1250': 'cp1250',
    'windows_1251': 'cp1251',
    'windows_1252': 'cp1252',
    'windows_1253': 'cp1253',
    'windows_1254': 'cp1254',
    'windows_1255': 'cp1255',
    'windows_1256': 'cp1256',
    'windows_1257': 'cp1257',
    'windows_1258': 'cp1258',
    'windows_936': 'gbk'}

encoding2mime_map = {   'ansi_x3.4_1968': 'US-ASCII',
    'ansi_x3.4_1986': 'US-ASCII',
    'arabic': 'ISO-8859-6',
    'ascii': 'US-ASCII',
    'asmo_708': 'ISO-8859-6',
    'big5': 'Big5',
    'cp367': 'US-ASCII',
    'cp819': 'ISO-8859-1',
    'csascii': 'US-ASCII',
    'csbig5': 'Big5',
    'csiso2022jp': 'ISO-2022-JP',
    'csiso2022jp2': 'ISO-2022-JP-2',
    'csiso2022kr': 'ISO-2022-KR',
    'csisolatin1': 'ISO-8859-1',
    'csisolatin2': 'ISO-8859-2',
    'csisolatin3': 'ISO-8859-3',
    'csisolatin4': 'ISO-8859-4',
    'csisolatin5': 'ISO-8859-9',
    'csisolatin6': 'ISO-8859-10',
    'csisolatinarabic': 'ISO-8859-6',
    'csisolatincyrillic': 'ISO-8859-5',
    'csisolatingreek': 'ISO-8859-7',
    'csisolatinhebrew': 'ISO-8859-8',
    'cskoi8r': 'KOI8-R',
    'csshiftjis': 'Shift_JIS',
    'cyrillic': 'ISO-8859-5',
    'ecma_114': 'ISO-8859-6',
    'ecma_118': 'ISO-8859-7',
    'elot_928': 'ISO-8859-7',
    'greek': 'ISO-8859-7',
    'greek8': 'ISO-8859-7',
    'hebrew': 'ISO-8859-8',
    'ibm367': 'US-ASCII',
    'ibm819': 'ISO-8859-1',
    'iso646_us': 'US-ASCII',
    'iso_2022_jp': 'ISO-2022-JP',
    'iso_2022_jp_2': 'ISO-2022-JP-2',
    'iso_2022_kr': 'ISO-2022-KR',
    'iso_646.irv_1991': 'US-ASCII',
    'iso_8859_1': 'ISO-8859-1',
    'iso_8859_10': 'ISO-8859-10',
    'iso_8859_10_1992': 'ISO-8859-10',
    'iso_8859_1_1987': 'ISO-8859-1',
    'iso_8859_2': 'ISO-8859-2',
    'iso_8859_2_1987': 'ISO-8859-2',
    'iso_8859_3': 'ISO-8859-3',
    'iso_8859_3_1988': 'ISO-8859-3',
    'iso_8859_4': 'ISO-8859-4',
    'iso_8859_4_1988': 'ISO-8859-4',
    'iso_8859_5': 'ISO-8859-5',
    'iso_8859_5_1988': 'ISO-8859-5',
    'iso_8859_6': 'ISO-8859-6',
    'iso_8859_6_1987': 'ISO-8859-6',
    'iso_8859_7': 'ISO-8859-7',
    'iso_8859_7_1987': 'ISO-8859-7',
    'iso_8859_8': 'ISO-8859-8',
    'iso_8859_8_1988': 'ISO-8859-8',
    'iso_8859_9': 'ISO-8859-9',
    'iso_8859_9_1989': 'ISO-8859-9',
    'iso_ir_100': 'ISO-8859-1',
    'iso_ir_101': 'ISO-8859-2',
    'iso_ir_109': 'ISO-8859-3',
    'iso_ir_110': 'ISO-8859-4',
    'iso_ir_126': 'ISO-8859-7',
    'iso_ir_127': 'ISO-8859-6',
    'iso_ir_138': 'ISO-8859-8',
    'iso_ir_144': 'ISO-8859-5',
    'iso_ir_148': 'ISO-8859-9',
    'iso_ir_157': 'ISO-8859-10',
    'iso_ir_6': 'US-ASCII',
    'koi8_r': 'KOI8-R',
    'l1': 'ISO-8859-1',
    'l2': 'ISO-8859-2',
    'l3': 'ISO-8859-3',
    'l4': 'ISO-8859-4',
    'l5': 'ISO-8859-9',
    'l6': 'ISO-8859-10',
    'latin1': 'ISO-8859-1',
    'latin2': 'ISO-8859-2',
    'latin3': 'ISO-8859-3',
    'latin4': 'ISO-8859-4',
    'latin5': 'ISO-8859-9',
    'latin6': 'ISO-8859-10',
    'ms_kanji': 'Shift_JIS',
    'shift_jis': 'Shift_JIS',
    'us': 'US-ASCII',
    'us_ascii': 'US-ASCII'}


Generated by  Doxygen 1.6.0   Back to index