cms_CharSet_TranscodeApi.h
资源名称:MMSCodes.rar [点击查看]
上传用户:fuyouda
上传日期:2021-12-23
资源大小:164k
文件大小:1k
源码类别:
手机彩信(MMS)编程
开发平台:
C/C++
- #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