#include "ConvertUTF.h"
-#include "stringtools.hh"
+#include "StringTools.hh"
-namespace dc {
+namespace Mf {
std::wstring multiToWide(const std::string& multiStr)
*targetStart = 0;
std::wstring convertedStr(wideStr);
delete[] wideStr;
+
return convertedStr;
}
else if (sizeof(wchar_t) == 4)
*targetStart = 0;
std::wstring convertedStr(wideStr);
delete[] wideStr;
+
return convertedStr;
}
else
*targetStart = 0;
std::string convertedStr(multiStr);
delete[] multiStr;
+
return convertedStr;
}
else if (sizeof(wchar_t) == 4)
*targetStart = 0;
std::string convertedStr(multiStr);
delete[] multiStr;
+
return convertedStr;
}
else
}
-} // namespace dc
+} // namespace Mf
/** vim: set ts=4 sw=4 tw=80: *************************************************/