Followup to: <[EMAIL PROTECTED]> By author: Seer <[EMAIL PROTECTED]> In newsgroup: linux.utf8 > > Another gripe unicode_char_t should be a signed > long. unicode leaves 1 bit, which is great for > things such as error codes, etc (negative numbers). > Using an unsigned int is not the best idea, I think. > (int can be longer than long) >
Not true. Ideally it should be an int_least32_t as defined in <stdint.h>; however, int *cannot* be longer than long, and on 64-bit machines int is typically 32 bits and long is typically 64 bits. -hpa -- <[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt <[EMAIL PROTECTED]> -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
