"bstring"

Ali Çehreli acehreli at yahoo.com
Tue Apr 6 11:50:36 PDT 2010


Justin Spahr-Summers wrote:

 > 'string' to me represents a contiguous run of valid
 > *characters* (i.e., the data has meaning and representation in and of
 > itself)... not strictly enforced by D, of course, but that's how the
 > type is used.

If by "character" you mean "code unit", yes.

string characters are UTF-8 code units in D and have meanings by 
themselves only if they are one-byte UTF-8 sequences.

Ali



More information about the Digitalmars-d mailing list