Creeping Bloat in Phobos

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 29 08:12:44 PDT 2014


Am Sun, 28 Sep 2014 11:08:13 -0700
schrieb Walter Bright <newshound2 at digitalmars.com>:

> On 9/28/2014 5:06 AM, Uranuz wrote:
> > A question: can you list some languages that represent UTF-8 narrow strings as
> > array of single bytes?
> 
> C and C++.

Not really, C string are in "C locale", not a specific
encoding. I.e. it _cannot_ deal with UTF-8 specifically.
Assuming UTF-8 would lead to funny output on consoles and the
like when passing D string to C functions. :)

-- 
Marco



More information about the Digitalmars-d mailing list