Date: 2001-09-26 13:06:35
--- In boost_at_y..., Jens Maurer <Jens.Maurer_at_g...> wrote:
> It looks like you can call imbue() at any time to set a new locale
> and thus change the encoding interpretation of the underlying
> stream at any time.
No, you can't: See 220.127.116.11 paragraph 17. Basically, you can imbue
a new locale only if the stream is either positioned at the
beginning or if the conversion isn't state dependent. Wide character
encodings are, by definition, state dependent.
However, as pointed out before, this feature isn't necessary at all.
-- <mailto:dietmar_kuehl_at_[hidden]> <http://www.dietmar-kuehl.de/> Phaidros eaSE - Easy Software Engineering: <http://www.phaidros.com/>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk