#ifndef AFUN_ENCODING_H #define AFUN_ENCODING_H #include "aFunToolExport.h" #include "tool-macro.h" #ifdef __cplusplus #include #else #include #endif #ifndef AFUN_TOOL_C namespace aFuntool { #endif AFUN_TOOL_C_EXPORT_FUNC bool isCharUTF8(const char *str); #ifdef __cplusplus AFUN_INLINE bool isCharUTF8(const std::string &str); #endif #ifndef AFUN_TOOL_C } #endif #include "encoding.inline.h" #endif //AFUN_ENCODING_H