|
Boost Users : |
From: Boris (boriss_at_[hidden])
Date: 2008-07-08 04:42:52
On Tue, 08 Jul 2008 10:10:29 +0200, Ákos Maróy <akos_at_[hidden]> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net