如何使用 gtk 框架处理 utf-8 字符串。
最佳答案
我认为您应该使用以下 api:
std::string Glib::locale_from_utf8 (const Glib::ustring& utf8_string)
看看这些页面:
关于c++ - 处理 utf-8 字符串 gtk,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4457967/
如何使用 gtk 框架处理 utf-8 字符串。
最佳答案
我认为您应该使用以下 api:
std::string Glib::locale_from_utf8 (const Glib::ustring& utf8_string)
看看这些页面:
关于c++ - 处理 utf-8 字符串 gtk,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4457967/