Function zeep::convert_w2s
Defined in File unicode-support.hpp
Function Documentation
-
inline std::string zeep::convert_w2s(std::wstring_view s)
Return a std::string encoded in UTF-8 for the input std::wstring s.
Note
This simplistic code assumes input contains only UCS-2 characters which are deprecated, I know. This means UTF-16 surrogates are ruined.
- Parameters
s – The input string
- Returns
std::string The recoded output string