yencoding.h 544 B

123456789101112131415161718192021222324
  1. #ifndef __XML_YENCODING_H__
  2. #define __XML_YENCODING_H__
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. int win1251ToUTF8(unsigned char* out, int *outlen,
  7. const unsigned char* in, int *inlen);
  8. int UTF8Towin1251(unsigned char* out, int *outlen,
  9. const unsigned char* in, int *inlen);
  10. int koi8ToUTF8(unsigned char* out, int *outlen,
  11. const unsigned char* in, int *inlen) ;
  12. int UTF8Tokoi8(unsigned char* out, int *outlen,
  13. const unsigned char* in, int *inlen);
  14. #ifdef __cplusplus
  15. }
  16. #endif
  17. #endif