UTF-8 Everywhere

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 19 18:36:39 PDT 2016


On Sun, Jun 19, 2016 at 05:49:40PM -0700, Walter Bright via Digitalmars-d wrote:
> http://utf8everywhere.org/
> 
> It has a good explanation of the issues and problems, and how these
> things came to be.
> 
> This is pretty much in line with my current (!) opinion on Unicode.
> What it means for us is I don't think it is that important anymore for
> algorithms to support strings of UTF-16 or UCS-4.

And it also confirms that autodecoding to dchar was a wrong design
decision (cf. last paragraph under section 1).

We should follow Walter's proposal to make as much of Phobos as possible
independent of autodecoding, and hopefully at some point in the future
deprecate and remove autodecoding altogether.


T

-- 
Life is unfair. Ask too much from it, and it may decide you don't deserve what you have now either.


More information about the Digitalmars-d mailing list