
8 Jul
2008
8 Jul
'08
8:42 a.m.
On Tue, 08 Jul 2008 10:10:29 +0200, Ákos Maróy <akos@maroy.hu> wrote:
Boris,
You can use std::mbstowcs and std::wcstombs (in <cstdlib>).
I see. But it doesn't look too elegant, does it, as one has to create an array to convert the characters into, and then initialise std::string or std::wstring with the results, right?
ICU provides some elegant classes (see http://www.icu-project.org/). But depending on what you want to do exactly it might be overkill. Boris