aboutsummaryrefslogtreecommitdiffstats
path: root/src/utf8.h
blob: bf8f1a9c9a8589e612f768e37eaa387b4b10577a (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 * asciiToUtf8(unsigned char c);

unsigned char * asciiStrToUtf8Dup(unsigned char * ascii);

unsigned char * utf8StrToAsciiDup(unsigned char * utf8);

unsigned char utf8ToAscii(unsigned char * utf8);

int validateUtf8Char(unsigned char * utf8Char);

int validUtf8String(unsigned char * string);

#endif