mirror of
https://github.com/libretro/Mesen.git
synced 2026-11-07 12:27:58 -10:00
17 lines
294 B
C++
17 lines
294 B
C++
#pragma once
|
|
|
|
#include <fstream>
|
|
|
|
namespace utf8 {
|
|
class utf8
|
|
{
|
|
public:
|
|
static std::wstring decode(const std::string &str);
|
|
static std::string encode(const std::wstring &wstr);
|
|
static std::string encode(const std::u16string &wstr);
|
|
};
|
|
|
|
using std::ifstream;
|
|
using std::ofstream;
|
|
}
|