OpenVPN 3 Core Library
Loading...
Searching...
No Matches
unicode.hpp File Reference
#include <windows.h>
#include <string>
#include <memory>
#include <openvpn/common/size.hpp>
#include <openvpn/common/exception.hpp>
Include dependency graph for unicode.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openvpn
 
namespace  openvpn::Win
 

Typedefs

typedef std::unique_ptr< wchar_t[]> openvpn::Win::UTF16
 
typedef std::unique_ptr< char[]> openvpn::Win::UTF8
 

Functions

 openvpn::Win::OPENVPN_SIMPLE_EXCEPTION (win_utf16)
 
wchar_t * openvpn::Win::utf16 (const std::string &str, int cp=CP_UTF8)
 
size_t openvpn::Win::utf16_strlen (const wchar_t *str)
 
char * openvpn::Win::utf8 (wchar_t *str)