Boost logo

Boost Users :

Subject: Re: [Boost-users] Fwd: Lexical cast between narrow and wide strings
From: gast128 (gast128_at_[hidden])
Date: 2014-06-07 03:13:37

> Andrew Marlow wrote:
> > I hope this is the right place to post my question. I expected to be
> > able to convert between narrow and wide strings using boost lexical
> > cast but it fails to compile.


> Have you checked Boost.Locale?
> E.g.

This seems from / to utf stuff. But there seems no ansi (i.e. 1 byte fixed
length with the ascii set) to ucs-16 (fixed 2 byte) conversion. Both
character encodings cannot cover all code points, but are very common on
windows platforms due to historical reasons.

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