>>>>> "Roger" == Roger So <email@example.com> writes: Roger> No, the point I was making was, say you have 0x20 0xD0 0xF6 (a Roger> space followed by some Big5 character). First you check Roger> isprint(0x20); that succeeds, so you move on to isprint(0xD0). Roger> Oops, 0xD0 is not printable. But MB_CUR_MAX = 2. So we check it Roger> now with 2 bytes together ... isprint(0xD0F6) ... great, that's Roger> printable, and we move on to the next byte ... I get it now. Yes, rather inefficient. Maybe another point for doing everything in UCS-4. Regards, Isaac. -- | This message was re-posted from firstname.lastname@example.org | and converted from big5 to gb2312 by an automatic gateway.
Description: PGP signature