Add libiconv support

This commit is contained in:
2021-12-17 19:32:59 +08:00
parent ed18d79b97
commit 6913d75ba6
8 changed files with 291 additions and 0 deletions

13
str_util.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef _UTILS_STR_UTIL_H
#define _UTILS_STR_UTIL_H
#include <string>
namespace str_util {
/**
* @brief Convert string to lowercase
* @param ori Origin string
* @param result Output string.
* @return true if successed.
*/
bool tolowercase(std::string ori, std::string& result);
}
#endif