10#ifndef INCLUDED_O3TL_RUNTIMETOOUSTRING_HXX
11#define INCLUDED_O3TL_RUNTIMETOOUSTRING_HXX
18#include <rtl/textcvt.h>
19#include <rtl/textenc.h>
20#include <rtl/ustring.h>
21#include <rtl/ustring.hxx>
35 bool ok = rtl_convertStringToUString(
36 &s.pData, runtimeString, std::strlen(runtimeString), RTL_TEXTENCODING_ISO_8859_1,
37 (RTL_TEXTTOUNICODE_FLAGS_UNDEFINED_ERROR | RTL_TEXTTOUNICODE_FLAGS_MBUNDEFINED_ERROR
38 | RTL_TEXTTOUNICODE_FLAGS_INVALID_ERROR));
OUString runtimeToOUString(char const *runtimeString)
Convert an NTBS from the C++ runtime to an OUString.