char-type renaming?
kris
foo at bar.com
Tue Aug 1 21:20:58 PDT 2006
Derek Parnell wrote:
[snip]
> char ==> An unsigned 8-bit byte. An alias for ubyte.
> schar ==> A UTF-8 code unit.
> wchar ==> A UTF-16 code unit.
> dchar ==> A UTF-32 code unit.
>
> char[] ==> A 'C' string
> schar[] ==> A UTF-8 string
> wchar[] ==> A UTF-16 string
> dchar[] ==> A UTF-32 string
Sure, although char, utf8, utf16, utf32 are much better choices, IMHO :)
I'd be game to have them changed at this stage. It's not much more than
some (extensive) global replacements. Don't think there's much need to
check each instance. There's a nice shareware tool called "Active Search
& Replace" which I've recently found to be very helpful in this regard.
More information about the Digitalmars-d
mailing list