ubyte vs. char for non-UTF-8 (was Re: toString vs. toUtf8)

Matti Niemenmaa see_signature at for.real.address
Wed Nov 21 02:32:38 PST 2007


Robert DaSilva wrote:
> Perhapses {,w,d}char should become typedef of u{byte,short,int} and drop
> as keywords?

There would still need to be special handling for char and string literals, at
least (since they're defined as UTF), but yes, this is a possibility.

-- 
E-mail address: matti.niemenmaa+news, domain is iki (DOT) fi



More information about the Digitalmars-d mailing list