From: Daryle Walker (darylew_at_[hidden])
Date: 2001-09-26 10:39:06
on 9/26/01 12:04 AM, Jeremy Siek at jsiek_at_[hidden] wrote:
> On Tue, 25 Sep 2001 williamkempf_at_[hidden] wrote:
> willia> >
> willia> > Unfortunately, the fundamental problem with any approach that uses
> willia> > the standard library wide character facilities is that wchar_t
> willia> > isn't 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.
Didn't it use to be 16 bits? When did it change?
> 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.
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT mac DOT com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk