43#ifndef LASS_GUARDIAN_OF_INCLUSION_UTIL_WCHAR_SUPPORT_H
44#define LASS_GUARDIAN_OF_INCLUSION_UTIL_WCHAR_SUPPORT_H
48#if LASS_HAVE_ICONV || LASS_HAVE_MULTIBYTETOWIDECHAR
49# define LASS_HAVE_WCHAR_SUPPORT 1
57#if LASS_HAVE_WCHAR_SUPPORT
59LASS_DLL std::wstring utf8ToWchar(
const std::string& utf8);
60LASS_DLL std::wstring utf8ToWchar(
const char* utf8);
61LASS_DLL std::wstring utf8ToWchar(
const char* utf8,
size_t length);
62LASS_DLL void utf8ToWchar(
const char* utf8,
size_t length, std::wstring& wide);
64LASS_DLL std::string wcharToUtf8(
const std::wstring& wide);
65LASS_DLL std::string wcharToUtf8(
const wchar_t* wide);
66LASS_DLL std::string wcharToUtf8(
const wchar_t* wide,
size_t length);
67LASS_DLL void wcharToUtf8(
const wchar_t* wide,
size_t length, std::string& utf8);
#define LASS_DLL
DLL interface: import or export symbols?
general utility, debug facilities, ...
Library for Assembled Shared Sources.