Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-09-26 00:04:33

On Tue, 25 Sep 2001 williamkempf_at_[hidden] wrote:
willia> >
willia> > Unfortunately, the fundamental problem with any approach that uses
willia> the
willia> > standard library wide character facilities is that wchar_t isn't
willia> > guaranteed to be large enough to hold a Unicode character.

Right, it takes 21 bits to represent Unicode characters. wchar_t under
Windows is 16 bits. Under linux it is 32 bits.

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

Yes, one would need to do some work to make the streams stuff
work with some 32 bit type.


 Jeremy Siek
 Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
 C++ Booster ( office phone: (812) 855-9761

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