1 #ifndef __RK_ENCODE_H__ 2 #define __RK_ENCODE_H__ 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 9 int RK_encode_is_utf8(char *buffer, const int size); 10 int RK_encode_gbk_to_utf8(unsigned char* src, int len, unsigned char* dst); 11 int RK_encode_utf8_to_gbk(unsigned char* src, int len, unsigned char* dst); 12 13 14 #ifdef __cplusplus 15 } 16 #endif 17 18 #endif 19