1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-06-21 01:15:22 +00:00
uemacs/utf8.h
Linus Torvalds e62cdf04cf Split up the utf8 helper functions into a file of their own
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-10 16:21:35 -07:00

10 lines
210 B
C

#ifndef UTF8_H
#define UTF8_H
typedef unsigned int unicode_t;
unsigned utf8_to_unicode(char *line, unsigned index, unsigned len, unicode_t *res);
unsigned unicode_to_utf8(unsigned int c, char *utf8);
#endif