|
Boost : |
Subject: Re: [boost] [serialization] [libstdc++] [detail] utf8_codecvt_facet fixes broke serialization test_array_xml_warchive
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-09-07 04:01:30
On Saturday 06 September 2014 17:31:09 Robert Ramey wrote:
> Andrey Semashev-2 wrote
>
> > On Thursday 04 September 2014 08:59:53 Robert Ramey wrote:
> >> But now it's sort of intertwined with the std implementation (IRC) which
> >> is
> >> part of the
> >> problem. A better solution might be a new library for codecvt facets.
> >
> > We already have such library - Boost.Locale.
>
> I didn't know that. I looked at the documentation and didn't find
> and drop-in replacement for the utf8-codecvt facet. I admit
> I didn't spend a lot of time looking though. I'll look later.
It's not a drop-in replacement, but you can generate a locale with the
appropriate codecvt facet.
http://www.boost.org/doc/libs/1_56_0/libs/locale/doc/html/charset_handling.html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk