utf8.h 431 B

12345678910111213
  1. #ifndef UTF8_H
  2. #define UTF8_H
  3. void setup_utf8();
  4. void unsetup_utf8();
  5. int to_utf8(const wchar_t *, char **, unsigned long *);
  6. int to_utf8(const char *, char **, unsigned long *);
  7. int to_utf16(const char *, wchar_t **utf16, unsigned long *);
  8. int to_utf16(const wchar_t *, wchar_t **utf16, unsigned long *);
  9. int from_utf8(const char *, TCHAR **, unsigned long *);
  10. int from_utf16(const wchar_t *, TCHAR **, unsigned long *);
  11. #endif