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?
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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net