Boost logo

Boost :

From: Ross Smith (ross.s_at_[hidden])
Date: 2001-09-25 15:12:01


dietmar_kuehl_at_[hidden] wrote:
>
> I'm probably dense but can anybody please tell me what problem you
> are talking off at all? 'std::basic_filebuf' internally uses a
> code conversion facet which is intended to convert an external
> encoding into an internal representation. For example, a
> 'std::wistream' can read UTF-8, UTF-16, ..., at least if appropriate
> code conversion facets are available. If they aren't shipped by the
> vendor, they may be provided by the user.

Unfortunately, the fundamental problem with any approach that uses the
standard library wide character facilities is that wchar_t isn't
guaranteed to be large enough to hold a Unicode character.

-- 
Ross Smith .......................................... ross.s_at_[hidden]
Ihug (Auckland, New Zealand) ................... http://www.ihug.co.nz/
           Vs lbh pna ernq guvf, lbh'er ivbyngvat gur QZPN

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