2004-04-13 04:20:46 +02:00
|
|
|
#ifndef UTF_8_H
|
|
|
|
#define UTF_8_H
|
|
|
|
|
2004-04-13 15:52:16 +02:00
|
|
|
unsigned char * latin1ToUtf8(unsigned char c);
|
2004-04-13 04:20:46 +02:00
|
|
|
|
2004-04-13 15:52:16 +02:00
|
|
|
unsigned char * latin1StrToUtf8Dup(unsigned char * latin1);
|
2004-04-13 04:20:46 +02:00
|
|
|
|
2004-04-13 15:52:16 +02:00
|
|
|
unsigned char * utf8StrToLatin1Dup(unsigned char * utf8);
|
2004-04-13 06:59:57 +02:00
|
|
|
|
2004-04-13 15:52:16 +02:00
|
|
|
unsigned char utf8ToLatin1(unsigned char * utf8);
|
2004-04-13 04:20:46 +02:00
|
|
|
|
|
|
|
int validateUtf8Char(unsigned char * utf8Char);
|
|
|
|
|
|
|
|
int validUtf8String(unsigned char * string);
|
|
|
|
|
|
|
|
#endif
|