tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Proposal: _ctype_ table bitwidth change

On Tue, Mar 22, 2011 at 02:25:11PM +0000, Patrick Welche wrote:
> On Tue, Mar 22, 2011 at 07:28:21AM +0100, Joerg Sonnenberger wrote:
> > 0xa0 as Unicode Code Point is not representable as unsigned char with
> > UTF-8 encoding. This is different from a wchar_t, which is an internal
> > encoding (in this case, most likely using UCS-2 or UCS-4).
> How about if there is a 0xc2 before it? (Or is that your point?)

But isspace() or any other ctype.h macro can't know that. That's why
wctype.h exists.


Home | Main Index | Thread Index | Old Index