I've just recently come across the problem that I cannot load certain vowels like ä, ü, ö from my xml-files. I'm using a std::wfstream, so how do I configure it to load those characters? (when I load it now, I always get 2 nonsense-chars from the one supposed-to-be widechar).
std::wfstream m_stream; std::locale locale(""); m_stream.imbue(locale); m_stream.open(stFilename.c_str(), std::ios::in);
but it doesn't work, regardless of whether I open the stream before or after, even though my machine is set to german. Any ideas?