|
Boost : |
Subject: Re: [boost] Review Request: Boost.Locale
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-05-26 00:53:30
> How about various stateful ISO-2022-* family?
> Is conversion to/from locale like ja_JP.ISO-2022-JP
> supported?
>
Yes via to_utf<>(), from_utf<>() functions.
But not via std::codecvt<>. As there is no way to preserve state.
In any case, if your compiler's/OS codecvt<> facet supports
such encodings then you can always use native codecvt.
Artyom
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk