1 #ifndef UNICODEANDUTF8_H 2 #define UNICODEANDUTF8_H 3 #include <stdlib.h> 4 #include<assert.h> 5 #include<stdio.h> 6 7 8 int enc_get_utf8_size(const unsigned char pInput); 9 10 int enc_utf8_to_unicode_one(const unsigned char* pInput, unsigned long *Unic); 11 12 int enc_unicode_to_utf8_one(unsigned long unic, unsigned char *pOutput,int outSize); 13 14 #endif // UNICODEANDUTF8_H 15