aboutsummaryrefslogtreecommitdiffstats
path: root/src/utf8.h
blob: 761c676e53159e77ab1e53ad6e22f282a60ae585 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef UTF_8_H
#define UTF_8_H

unsigned char * latin1ToUtf8(unsigned char c);

unsigned char * latin1StrToUtf8Dup(unsigned char * latin1);

unsigned char * utf8StrToLatin1Dup(unsigned char * utf8);

unsigned char utf8ToLatin1(unsigned char * utf8);

int validateUtf8Char(unsigned char * utf8Char);

int validUtf8String(unsigned char * string);

#endif