tool_encoding.inline.h 336 B

1234567891011121314151617181920
  1. #ifndef AFUN_TOOL_ENCODING_INLINE_H
  2. #define AFUN_TOOL_ENCODING_INLINE_H
  3. #ifdef __cplusplus
  4. #include "tool_encoding.h"
  5. #ifndef AFUN_TOOL_C
  6. namespace aFuntool {
  7. #endif
  8. bool isCharUTF8(const std::string &str) {
  9. return isCharUTF8(str.c_str());
  10. }
  11. #ifndef AFUN_TOOL_C
  12. }
  13. #endif
  14. #endif
  15. #endif //AFUN_TOOL_ENCODING_INLINE_H