utf8_helper.h
author Volker Birk <vb@pep-project.org>
Thu, 16 Apr 2015 20:43:31 +0200
changeset 0 0aa9866d751c
child 10 15fd256d4adb
permissions -rw-r--r--
initial commit
vb@0
     1
#pragma once
vb@0
     2
vb@0
     3
std::string utf8_string(std::wstring wstr, NORM_FORM norm = NormalizationC);
vb@0
     4
std::string utf8_string(BSTR bstr, NORM_FORM norm = NormalizationC);
vb@0
     5
std::wstring utf16_string(std::string str);
vb@0
     6
_bstr_t utf16_bstr(std::string str);