加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
iconv_const.cpp 10.64 KB
一键复制 编辑 原始数据 按行查看 历史
心冷丶鱼儿 提交于 2023-02-08 09:42 . 修复及扩展更新
#ifndef __E_STATIC_LIB
#include "include_iconv_header.h"
LIB_CONST_INFO g_ConstInfo_iconv_global_var[] =
{
//#define CT_NULL 0
//#define CT_NUM 1 // value sample: 3.1415926
//#define CT_BOOL 2 // value sample: 1
//#define CT_TEXT 3 // value sample: "abc"
//LPCSTR m_szName; //
//LPCSTR m_szEgName; // Ӣ
//LPCSTR m_szExplain; // ˵
//SHORT m_shtLayout; // Ϊ 1
//SHORT m_shtType; // , CT_NULL=ճ, CT_NUM=ֵ,doubleֵ, CT_BOOL=߼, CT_TEXT=ı
//LPCSTR m_szText; // CT_TEXT
//DOUBLE m_dbValue; // CT_NUMCT_BOOL
/*000*/ { "_GB2312", "Encoding_GB2312", NULL, 1, CT_TEXT, "GB2312", 0 },
/*001*/ { "_EUC_CN", "Encoding_EUC_CN", NULL, 1, CT_TEXT, "EUC-CN", 0 },
/*002*/ { "_HZ", "Encoding_HZ", NULL, 1, CT_TEXT, "HZ", 0 },
/*003*/ { "_GBK", "Encoding_GBK", NULL, 1, CT_TEXT, "GBK", 0 },
/*004*/ { "_GB18030", "Encoding_GB18030", NULL, 1, CT_TEXT, "GB18030", 0 },
/*005*/ { "_EUC_TW", "Encoding_EUC_TW", NULL, 1, CT_TEXT, "EUC-TW", 0 },
/*006*/ { "_BIG5", "Encoding_BIG5", NULL, 1, CT_TEXT, "BIG5", 0 },
/*007*/ { "_CP950", "Encoding_CP950", NULL, 1, CT_TEXT, "CP950", 0 },
/*008*/ { "_BIG5_HKSCS", "Encoding_BIG5_HKSCS", NULL, 1, CT_TEXT, "BIG5-HKSCS", 0 },
/*009*/ { "_ISO_2022_CN", "Encoding_ISO_2022_CN", NULL, 1, CT_TEXT, "ISO-2022-CN", 0 },
/*010*/ { "_ISO_2022_CN_EXT", "Encoding_ISO_2022_CN_EXT", NULL, 1, CT_TEXT, "ISO-2022-CN-EXT", 0 },
/*011*/ { "_EUC_JP", "Encoding_EUC_JP", NULL, 1, CT_TEXT, "EUC-JP", 0 },
/*012*/ { "_SHIFT_JIS", "Encoding_SHIFT_JIS", NULL, 1, CT_TEXT, "SHIFT_JIS", 0 },
/*013*/ { "_CP932", "Encoding_CP932", NULL, 1, CT_TEXT, "CP932", 0 },
/*014*/ { "_ISO_2022_JP", "Encoding_ISO_2022_JP", NULL, 1, CT_TEXT, "ISO-2022-JP", 0 },
/*015*/ { "_ISO_2022_JP_2", "Encoding_ISO_2022_JP_2", NULL, 1, CT_TEXT, "ISO-2022-JP-2", 0 },
/*016*/ { "_ISO_2022_JP_1", "Encoding_ISO_2022_JP_1", NULL, 1, CT_TEXT, "ISO-2022-JP-1", 0 },
/*017*/ { "_EUC_JISX0213", "Encoding_EUC_JISX0213", NULL, 1, CT_TEXT, "EUC-JISX0213", 0 },
/*018*/ { "_Shift_JISX0213", "Encoding_Shift_JISX0213", NULL, 1, CT_TEXT, "Shift_JISX0213", 0 },
/*019*/ { "_ISO_2022_JP_3", "Encoding_ISO_2022_JP_3", NULL, 1, CT_TEXT, "ISO-2022-JP-3", 0 },
/*020*/ { "_EUC_KR", "Encoding_EUC_KR", NULL, 1, CT_TEXT, "EUC-KR", 0 },
/*021*/ { "_CP949", "Encoding_CP949", NULL, 1, CT_TEXT, "CP949", 0 },
/*022*/ { "_ISO_2022_KR", "Encoding_ISO_2022_KR", NULL, 1, CT_TEXT, "ISO-2022-KR", 0 },
/*023*/ { "_JOHAB", "Encoding_JOHAB", NULL, 1, CT_TEXT, "JOHAB", 0 },
/*024*/ { "_UTF_8", "Encoding_UTF_8", NULL, 1, CT_TEXT, "UTF-8", 0 },
/*025*/ { "_UCS_2", "Encoding_UCS_2", NULL, 1, CT_TEXT, "UCS-2", 0 },
/*026*/ { "_UCS_2BE", "Encoding_UCS_2BE", NULL, 1, CT_TEXT, "UCS-2BE", 0 },
/*027*/ { "_UCS_2LE", "Encoding_UCS_2LE", NULL, 1, CT_TEXT, "UCS-2LE", 0 },
/*028*/ { "_UCS_4", "Encoding_UCS_4", NULL, 1, CT_TEXT, "UCS-4", 0 },
/*029*/ { "_UCS_4BE", "Encoding_UCS_4BE", NULL, 1, CT_TEXT, "UCS-4BE", 0 },
/*030*/ { "_UCS_4LE", "Encoding_UCS_4LE", NULL, 1, CT_TEXT, "UCS-4LE", 0 },
/*031*/ { "_UTF_16", "Encoding_UTF_16", NULL, 1, CT_TEXT, "UTF-16", 0 },
/*032*/ { "_UTF_16BE", "Encoding_UTF_16BE", NULL, 1, CT_TEXT, "UTF-16BE", 0 },
/*033*/ { "_UTF_16LE", "Encoding_UTF_16LE", NULL, 1, CT_TEXT, "UTF-16LE", 0 },
/*034*/ { "_UTF_32", "Encoding_UTF_32", NULL, 1, CT_TEXT, "UTF-32", 0 },
/*035*/ { "_UTF_32BE", "Encoding_UTF_32BE", NULL, 1, CT_TEXT, "UTF-32BE", 0 },
/*036*/ { "_UTF_32LE", "Encoding_UTF_32LE", NULL, 1, CT_TEXT, "UTF-32LE", 0 },
/*037*/ { "_UTF_7", "Encoding_UTF_7", NULL, 1, CT_TEXT, "UTF-7", 0 },
/*038*/ { "_C99", "Encoding_C99", NULL, 1, CT_TEXT, "C99", 0 },
/*039*/ { "_JAVA", "Encoding_JAVA", NULL, 1, CT_TEXT, "JAVA", 0 },
/*040*/ { "_UCS_2_INTERNAL", "Encoding_UCS_2_INTERNAL", NULL, 1, CT_TEXT, "UCS-2-INTERNAL", 0 },
/*041*/ { "_UCS_4_INTERNAL", "Encoding_UCS_4_INTERNAL", NULL, 1, CT_TEXT, "UCS-4-INTERNAL", 0 },
/*042*/ { "_ASCII", "Encoding_ASCII", NULL, 1, CT_TEXT, "ASCII", 0 },
/*043*/ { "_ISO_8859_1", "Encoding_ISO_8859_1", NULL, 1, CT_TEXT, "ISO-8859-1", 0 },
/*044*/ { "_ISO_8859_2", "Encoding_ISO_8859_2", NULL, 1, CT_TEXT, "ISO-8859-2", 0 },
/*045*/ { "_ISO_8859_3", "Encoding_ISO_8859_3", NULL, 1, CT_TEXT, "ISO-8859-3", 0 },
/*046*/ { "_ISO_8859_4", "Encoding_ISO_8859_4", NULL, 1, CT_TEXT, "ISO-8859-4", 0 },
/*047*/ { "_ISO_8859_5", "Encoding_ISO_8859_5", NULL, 1, CT_TEXT, "ISO-8859-5", 0 },
/*048*/ { "_ISO_8859_7", "Encoding_ISO_8859_7", NULL, 1, CT_TEXT, "ISO-8859-7", 0 },
/*049*/ { "_ISO_8859_9", "Encoding_ISO_8859_9", NULL, 1, CT_TEXT, "ISO-8859-9", 0 },
/*050*/ { "_ISO_8859_10", "Encoding_ISO_8859_10", NULL, 1, CT_TEXT, "ISO-8859-10", 0 },
/*051*/ { "_ISO_8859_13", "Encoding_ISO_8859_13", NULL, 1, CT_TEXT, "ISO-8859-13", 0 },
/*052*/ { "_ISO_8859_14", "Encoding_ISO_8859_14", NULL, 1, CT_TEXT, "ISO-8859-14", 0 },
/*053*/ { "_ISO_8859_15", "Encoding_ISO_8859_15", NULL, 1, CT_TEXT, "ISO-8859-15", 0 },
/*054*/ { "_ISO_8859_16", "Encoding_ISO_8859_16", NULL, 1, CT_TEXT, "ISO-8859-16", 0 },
/*055*/ { "_KOI8_R", "Encoding_KOI8_R", NULL, 1, CT_TEXT, "KOI8-R", 0 },
/*056*/ { "_KOI8_U", "Encoding_KOI8_U", NULL, 1, CT_TEXT, "KOI8-U", 0 },
/*057*/ { "_KOI8_RU", "Encoding_KOI8_RU", NULL, 1, CT_TEXT, "KOI8-RU", 0 },
/*058*/ { "_CP1250", "Encoding_CP1250", NULL, 1, CT_TEXT, "CP1250", 0 },
/*059*/ { "_CP1251", "Encoding_CP1251", NULL, 1, CT_TEXT, "CP1251", 0 },
/*060*/ { "_CP1252", "Encoding_CP1252", NULL, 1, CT_TEXT, "CP1252", 0 },
/*061*/ { "_CP1253", "Encoding_CP1253", NULL, 1, CT_TEXT, "CP1253", 0 },
/*062*/ { "_CP1254", "Encoding_CP1254", NULL, 1, CT_TEXT, "CP1254", 0 },
/*063*/ { "_CP1257", "Encoding_CP1257", NULL, 1, CT_TEXT, "CP1257", 0 },
/*064*/ { "_CP850", "Encoding_CP850", NULL, 1, CT_TEXT, "CP850", 0 },
/*065*/ { "_CP866", "Encoding_CP866", NULL, 1, CT_TEXT, "CP866", 0 },
/*066*/ { "_MacRoman", "Encoding_MacRoman", NULL, 1, CT_TEXT, "MacRoman", 0 },
/*067*/ { "_MacCentralEurope", "Encoding_MacCentralEurope", NULL, 1, CT_TEXT, "MacCentralEurope", 0 },
/*068*/ { "_MacIceland", "Encoding_MacIceland", NULL, 1, CT_TEXT, "MacIceland", 0 },
/*069*/ { "_MacCroatian", "Encoding_MacCroatian", NULL, 1, CT_TEXT, "MacCroatian", 0 },
/*070*/ { "_MacRomania", "Encoding_MacRomania", NULL, 1, CT_TEXT, "MacRomania", 0 },
/*071*/ { "_MacCyrillic", "Encoding_MacCyrillic", NULL, 1, CT_TEXT, "MacCyrillic", 0 },
/*072*/ { "_MacUkraine", "Encoding_MacUkraine", NULL, 1, CT_TEXT, "MacUkraine", 0 },
/*073*/ { "_MacGreek", "Encoding_MacGreek", NULL, 1, CT_TEXT, "MacGreek", 0 },
/*074*/ { "_MacTurkish", "Encoding_MacTurkish", NULL, 1, CT_TEXT, "MacTurkish", 0 },
/*075*/ { "_Macintosh", "Encoding_Macintosh", NULL, 1, CT_TEXT, "Macintosh", 0 },
/*076*/ { "_CP437", "Encoding_CP437", NULL, 1, CT_TEXT, "CP437", 0 },
/*077*/ { "_CP737", "Encoding_CP737", NULL, 1, CT_TEXT, "CP737", 0 },
/*078*/ { "_CP775", "Encoding_CP775", NULL, 1, CT_TEXT, "CP775", 0 },
/*079*/ { "_CP852", "Encoding_CP852", NULL, 1, CT_TEXT, "CP852", 0 },
/*080*/ { "_CP853", "Encoding_CP853", NULL, 1, CT_TEXT, "CP853", 0 },
/*081*/ { "_CP855", "Encoding_CP855", NULL, 1, CT_TEXT, "CP855", 0 },
/*082*/ { "_CP857", "Encoding_CP857", NULL, 1, CT_TEXT, "CP857", 0 },
/*083*/ { "_CP858", "Encoding_CP858", NULL, 1, CT_TEXT, "CP858", 0 },
/*084*/ { "_CP860", "Encoding_CP860", NULL, 1, CT_TEXT, "CP860", 0 },
/*085*/ { "_CP861", "Encoding_CP861", NULL, 1, CT_TEXT, "CP861", 0 },
/*086*/ { "_CP863", "Encoding_CP863", NULL, 1, CT_TEXT, "CP863", 0 },
/*087*/ { "_CP865", "Encoding_CP865", NULL, 1, CT_TEXT, "CP865", 0 },
/*088*/ { "_CP869", "Encoding_CP869", NULL, 1, CT_TEXT, "CP869", 0 },
/*089*/ { "_CP1125", "Encoding_CP1125", NULL, 1, CT_TEXT, "CP1125", 0 },
/*090*/ { "_ISO_8859_6", "Encoding_ISO_8859_6", NULL, 1, CT_TEXT, "ISO-8859-6", 0 },
/*091*/ { "_ISO_8859_8", "Encoding_ISO_8859_8", NULL, 1, CT_TEXT, "ISO-8859-8", 0 },
/*092*/ { "_CP1255", "Encoding_CP1255", NULL, 1, CT_TEXT, "CP1255", 0 },
/*093*/ { "_CP1256", "Encoding_CP1256", NULL, 1, CT_TEXT, "CP1256", 0 },
/*094*/ { "_CP862", "Encoding_CP862", NULL, 1, CT_TEXT, "CP862", 0 },
/*095*/ { "_MacHebrew", "Encoding_MacHebrew", NULL, 1, CT_TEXT, "MacHebrew", 0 },
/*096*/ { "_MacArabic", "Encoding_MacArabic", NULL, 1, CT_TEXT, "MacArabic", 0 },
/*097*/ { "_CP864", "Encoding_CP864", NULL, 1, CT_TEXT, "CP864", 0 },
/*098*/ { "_ARMSCII_8", "Encoding_ARMSCII_8", NULL, 1, CT_TEXT, "ARMSCII-8", 0 },
/*099*/ { "_Georgian_Academy", "Encoding_Georgian_Academy", NULL, 1, CT_TEXT, "Georgian-Academy", 0 },
/*100*/ { "_Georgian_PS", "Encoding_Georgian_PS", NULL, 1, CT_TEXT, "Georgian-PS", 0 },
/*101*/ { "_KOI8_T", "Encoding_KOI8_T", NULL, 1, CT_TEXT, "KOI8-T", 0 },
/*102*/ { "_TIS_620", "Encoding_TIS_620", NULL, 1, CT_TEXT, "TIS-620", 0 },
/*103*/ { "_CP874", "Encoding_CP874", NULL, 1, CT_TEXT, "CP874", 0 },
/*104*/ { "_MacThai", "Encoding_MacThai", NULL, 1, CT_TEXT, "MacThai", 0 },
/*105*/ { "_MuleLao_1", "Encoding_MuleLao_1", NULL, 1, CT_TEXT, "MuleLao-1", 0 },
/*106*/ { "_CP1133", "Encoding_CP1133", NULL, 1, CT_TEXT, "CP1133", 0 },
/*107*/ { "_VISCII", "Encoding_VISCII", NULL, 1, CT_TEXT, "VISCII", 0 },
/*108*/ { "_TCVN", "Encoding_TCVN", NULL, 1, CT_TEXT, "TCVN", 0 },
/*109*/ { "_CP1258", "Encoding_CP1258", NULL, 1, CT_TEXT, "CP1258", 0 },
/*110*/ { "_TDS565", "Encoding_TDS565", NULL, 1, CT_TEXT, "TDS565", 0 },
/*111*/ { "_HP_ROMAN8", "Encoding_HP_ROMAN8", NULL, 1, CT_TEXT, "HP-ROMAN8", 0 },
/*112*/ { "_NEXTSTEP", "Encoding_NEXTSTEP", NULL, 1, CT_TEXT, "NEXTSTEP", 0 },
/*113*/ { "_RISCOS_LATIN1", "Encoding_RISCOS_LATIN1", NULL, 1, CT_TEXT, "RISCOS-LATIN1", 0 },
/*114*/ { "_char", "Encoding_char", NULL, 1, CT_TEXT, "char", 0 },
/*115*/ { "_wchar_t", "Encoding_wchar_t", NULL, 1, CT_TEXT, "wchar_t", 0 },
};
int g_ConstInfo_iconv_global_var_count = sizeof(g_ConstInfo_iconv_global_var) / sizeof(g_ConstInfo_iconv_global_var[0]);
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化