gbbig5unicode.h
来自「ansi和unicode之间的相互转化」· C头文件 代码 · 共 41 行
H
41 行
/************************************************************************
*
* Module name : GBBig5Unicode.h
*
* Module description :
* This header file contains function prototypes for Chinese character
* set encode method conversion.
*
* Project : Generic
*
* Target platform : Win32
*
* Compiler & Library : Visual C++ 6.0
*
* Author : Richard Shen
*
* Creation date : 09 October, 2000
*
************************************************************************/
#ifndef GBBig5Unicode_h
#define GBBig5Unicode_h
// GB2312 <=> Unicode
const unsigned char *GBCodeToUnicode(unsigned char *gbCode);
const unsigned char *UnicodeToGBCode(unsigned char *unicode);
int StrGBCodeToUnicode(char *gbCode,TCHAR *unicode);
int StrUnicodeToGBCode(TCHAR *unicode,char *gbCode);
// Big5 <=> Unicode
//const unsigned char *Big5CodeToUnicode(unsigned char *b5Code);
//const unsigned char *UnicodeToBig5Code(unsigned char *unicode);
// GB2312 <=> Big5
//const unsigned char *GBCodeToBig5Code(unsigned char *gbCode);
//const unsigned char *Big5CodeToGBCode(unsigned char *b5Code);
// Check code
BOOL IsGBCode(unsigned char *gbCode);
//BOOL IsBig5Code(unsigned char *b5Code);
#endif // GBBig5Unicode_h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?