2004-04-13 04:20:46 +02:00
|
|
|
#ifndef UTF_8_H
|
|
|
|
#define UTF_8_H
|
|
|
|
|
|
|
|
unsigned char * asciiToUtf8(unsigned char c);
|
|
|
|
|
|
|
|
unsigned char * asciiStrToUtf8Dup(unsigned char * ascii);
|
|
|
|
|
2004-04-13 06:59:57 +02:00
|
|
|
unsigned char * utf8StrToAsciiDup(unsigned char * utf8);
|
|
|
|
|
2004-04-13 04:20:46 +02:00
|
|
|
unsigned char utf8ToAscii(unsigned char * utf8);
|
|
|
|
|
|
|
|
int validateUtf8Char(unsigned char * utf8Char);
|
|
|
|
|
|
|
|
int validUtf8String(unsigned char * string);
|
|
|
|
|
|
|
|
#endif
|