subprocess  0.4.0
Modern subprocess library for c++
utf8_to_utf16.hpp
Go to the documentation of this file.
1 
2 #include <string>
3 #ifdef _WIN32
4 #include <windows.h>
5 #endif
6 namespace subprocess {
7  std::u16string utf8_to_utf16(const std::string& str);
8  std::string utf16_to_utf8(const std::u16string& str);
9 
10  std::wstring utf8_to_utf16_w(const std::string& str);
11  std::string utf16_to_utf8(const std::wstring& str);
12  size_t strlen16(char16_t* str);
13  size_t strlen16(wchar_t* str);
14 
15 #ifdef _WIN32
16  std::string lptstr_to_string(LPTSTR str);
17 #endif
18 }
19 
subprocess
Definition: basic_types.hpp:19