X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=utf8.h;fp=utf8.h;h=ccc535af9e0ea4ce673a940a202ac837857184e0;hb=800ca0c4f150de75c38c87a59d18878b0341f16b;hp=0000000000000000000000000000000000000000;hpb=de4b96ffd6540465792360be7bc2ac18719fd274;p=nssm.git diff --git a/utf8.h b/utf8.h new file mode 100644 index 0000000..ccc535a --- /dev/null +++ b/utf8.h @@ -0,0 +1,13 @@ +#ifndef UTF8_H +#define UTF8_H + +void setup_utf8(); +void unsetup_utf8(); +int to_utf8(const wchar_t *, char **, unsigned long *); +int to_utf8(const char *, char **, unsigned long *); +int to_utf16(const char *, wchar_t **utf16, unsigned long *); +int to_utf16(const wchar_t *, wchar_t **utf16, unsigned long *); +int from_utf8(const char *, TCHAR **, unsigned long *); +int from_utf16(const wchar_t *, TCHAR **, unsigned long *); + +#endif