19 lines
333 B
C
19 lines
333 B
C
#ifndef __RK_ENCODE_H__
|
|
#define __RK_ENCODE_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
int RK_encode_is_utf8(char *buffer, const int size);
|
|
int RK_encode_gbk_to_utf8(unsigned char* src, int len, unsigned char* dst);
|
|
int RK_encode_utf8_to_gbk(unsigned char* src, int len, unsigned char* dst);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|