luckfox-pico-sdk/project/app/wifi_app/wifi/include/RK_encode.h
2023-08-08 20:36:47 +08:00

17 lines
331 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