language.h 317 B

12345678
  1. #ifndef __LANGUANGE_H_
  2. #define __LANGUANGE_H_
  3. char Utf8ToGbkOrUnicode(char *ibuf, int inlen,char *outbuf, int *outlen, char codetype);//0- GBK 1-UNICODE
  4. void gbkToUnicode(char *inbuf, int inlen, char *outbuf, int *outlen);
  5. void unicodeToGbk(const char *inbuf, unsigned char *outbuf, unsigned short *outlen);
  6. #endif