2012-07-10 23:21:35 +00:00
|
|
|
#ifndef UTF8_H
|
|
|
|
#define UTF8_H
|
|
|
|
|
2015-02-08 06:26:07 +00:00
|
|
|
typedef unsigned int unicode_t ;
|
2012-07-10 23:21:35 +00:00
|
|
|
|
2013-05-19 00:43:30 +00:00
|
|
|
unsigned utf8_to_unicode( char *line, unsigned index, unsigned len,
|
2015-02-08 06:26:07 +00:00
|
|
|
unicode_t *res) ;
|
2019-08-12 13:41:51 +00:00
|
|
|
unsigned utf8_revdelta( unsigned char *buf, unsigned pos) ;
|
2015-02-08 06:26:07 +00:00
|
|
|
unsigned unicode_to_utf8( unicode_t c, char *utf8) ;
|
2012-07-10 23:21:35 +00:00
|
|
|
|
|
|
|
#endif
|