Boost logo

Boost :

Subject: Re: [boost] Unicode and codecvt facets
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-07-06 05:44:49


Le 05/07/2010 18:48, Bo Persson wrote:

> You can, but you should specialize on the third parameter, if you want
> to treat chars differently than default.
>
> A codecvt<char, char, my_state_t> could easily do any kind of
> conversions you need.

I don't particularly need state, what I would like is to be able to use
the right character types rather than wide characters, which are
implementation-specific.

Also it doesn't seem states other than mbstate_t can be used by filebufs.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk