"bstring"
Justin Spahr-Summers
Justin.SpahrSummers at gmail.com
Tue Apr 6 19:35:06 PDT 2010
On Tue, 06 Apr 2010 11:50:36 -0700, Ali Çehreli <acehreli at yahoo.com>
wrote:
>
> 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
Sorry, yes. I'm not very familiar with Unicode terminology, but I do
know that strings don't always contain valid Unicode sequences, and
that's what I meant.
More information about the Digitalmars-d
mailing list