mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Add wgc demo
This commit is contained in:
23
utils_string.h
Normal file
23
utils_string.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace am {
|
||||
|
||||
class utils_string
|
||||
{
|
||||
public:
|
||||
static std::wstring ascii_unicode(const std::string & str);
|
||||
|
||||
static std::string unicode_ascii(const std::wstring &wstr);
|
||||
|
||||
static std::string ascii_utf8(const std::string & str);
|
||||
|
||||
static std::string utf8_ascii(const std::string &utf8);
|
||||
|
||||
static std::string unicode_utf8(const std::wstring& wstr);
|
||||
|
||||
static std::wstring utf8_unicode(const std::string &utf8);
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user