August 18, 2001 Unicode type should be 32 bits, not 16 | ||||
---|---|---|---|---|
| ||||
On http://www.digitalmars.com/d/ctod.html it says: "Although char is an unsigned 8 bit type, and unicode is an unsigned 16 bit type, they have their own separate types in order to aid overloading and type safety" Unicode should really be 32 bits. The unicode standard is now many times larger than the first 64k block. To set the default 16 bits would become a major limitation in near future. glibc has the unicide wide character at 32 bits. best -paul -- Paul Sheer Consulting IT Services . . . Tel . . . +27 21 761 7224 Linux development, cryptography, recuitment, support, training http://www.icon.co.za/~psheer . . . . http://rute.sourceforge.net L I N U X . . . . . . . . . . . . The Choice of a GNU Generation |
August 18, 2001 Re: Unicode type should be 32 bits, not 16 | ||||
---|---|---|---|---|
| ||||
Posted in reply to psheer AT icon DOT co DOT za | You're right, and I'll make that change. psheer AT icon DOT co DOT za wrote in message <9lleie$b6g$1@digitaldaemon.com>... > >On http://www.digitalmars.com/d/ctod.html it says: > >"Although char is an unsigned 8 bit type, and >unicode is an unsigned 16 bit type, they have >their own separate types in order to aid >overloading and type safety" > >Unicode should really be 32 bits. The unicode >standard is now many times larger than the >first 64k block. > >To set the default 16 bits would become a >major limitation in near future. > >glibc has the unicide wide character at 32 bits. > >best > >-paul > > >-- >Paul Sheer Consulting IT Services . . . Tel . . . +27 21 761 7224 Linux development, cryptography, recuitment, support, training http://www.icon.co.za/~psheer . . . . http://rute.sourceforge.net L I N U X . . . . . . . . . . . . The Choice of a GNU Generation > |
Copyright © 1999-2021 by the D Language Foundation