www.pudn.com > MMS.rar > cms_CharSet_TranscodeApi.h


 
#ifndef _CHARSET_TRANSCODEAPI_H 
#define _CHARSET_TRANSCODEAPI_H 
 
 
#define ISO_10646_UCS_2		0x03E8	/* ucs2  */ 
#define GB2312				0x07E9	/* gb2312 */ 
#define BIG5				0x07EA	/* big4  */ 
#define UTF8				0x6A	/* UTF-8  */ 
 
 
#ifdef __cplusplus 
extern "C" { 
#endif	/*end of __cplusplus*/ 
 
 
 
 
 
 
 
/*======================================================== 
 *      API defines 
 *========================================================*/ 
unsigned char *fnCharSet_DecodeString2Local(int CharSet,unsigned char *Text,int *len); 
unsigned char *fnCharSet_EncodeLocalString2UTF8(unsigned char *Text,int *len); 
 
void fnCharSet_FreeStringBuf(void *pbuf); 
 
 
 
 
 
 
 
#ifdef __cplusplus 
} 
#endif  //end of #ifdef __cplusplus  
 
 
#endif