Boost logo

Boost :

From: williamkempf_at_[hidden]
Date: 2001-09-25 16:03:33

--- In boost_at_y..., Ross Smith <ross.s_at_i...> wrote:
> dietmar_kuehl_at_y... 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
> > code conversion facets are available. If they aren't shipped by
> > vendor, they may be provided by the user.
> Unfortunately, the fundamental problem with any approach that uses
> standard library wide character facilities is that wchar_t isn't
> guaranteed to be large enough to hold a Unicode character.

That's not really a problem since none of the code is restricted to
only char and wchar_t types. It may mean that we need much more
plumbing for a Boost.Unicode library, but the standard library
facilities for doing this should still be where one starts here.

Bill Kempf

Boost list run by bdawes at, gregod at, cpdaniel at, john at