Thanks all for answers. I resolve conversion myself and it is working (using Poco library for text).
I have another questions:
1. When I set up Theme(with ResourceDirectory) and ResourceProvider, how this theme knows where is font located? I checked xaml files but don't find any info how is used font. In tutorials is mentioned only for TextBlock but how use one font for all text?
2. When I have this code
const NsChar * ContainerItem::m_func_GetNameSource() const // is part Noesis Get and Set function for displaying text in GUI by binding
{
std::wstring ws = L"ľščť";
std::string text;
Poco::UnicodeConverter uc;
uc.toUTF8(ws, text);
NsString m_NsString_SourceFull = text.c_str();
return m_NsString_SourceFull.c_str();
}
Program freezes - window appear but nothing is shown. If m_NsString_SourceFull is created with text
NsString m_NsString_SourceFull = "ľščť";
program start ok. But characters are not show right. The best solution I found is m_NsString_SourceFull must be member and make conversion outside GetNameSource() method. Then program never freezes. Question is, why I cannot have conversion inside GetNameSource()?