Boost logo

Boost Users :

Subject: Re: [Boost-users] narrow/wide string conversion
From: Boris Schaeling (boris_at_[hidden])
Date: 2010-08-12 18:49:47

On Fri, 13 Aug 2010 00:17:21 +0200, John Dlugosz
<JDlugosz_at_[hidden]> wrote:

> What's the proper, standard, orthodox, etc. way of converting between a
> std::string and a std::wstring?

Have a look at mbstowcs() and wcstombs() in <cstdlib> (although they want
char* and wchar_t* of course).


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at