-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstrutil.h
26 lines (24 loc) · 868 Bytes
/
strutil.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef STRUTIL_H
#define STRUTIL_H
#include <codecvt>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <locale>
#include <string>
#include <system_error>
#include <vector>
#include <Windows.h>
std::wstring multi_to_wide_capi(std::string const&);
std::wstring multi_to_wide_winapi(std::string const&);
std::string wide_to_multi_capi(std::wstring const&);
std::string wide_to_multi_winapi(std::wstring const&);
std::string wide_to_utf8_cppapi(std::wstring const&);
std::string wide_to_utf8_winapi(std::wstring const&);
std::wstring utf8_to_wide_cppapi(std::string const&);
std::wstring utf8_to_wide_winapi(std::string const&);
std::string multi_to_utf8_cppapi(std::string const&);
std::string multi_to_utf8_winapi(std::string const&);
std::string utf8_to_multi_cppapi(std::string const&);
std::string utf8_to_multi_winapi(std::string const&);
#endif