mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
23 lines
455 B
C++
23 lines
455 B
C++
#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);
|
|
};
|
|
|
|
} |