Re: Why is utf8 the default in D?

2009-04-27 Thread Steven Schveighoffer
On Mon, 27 Apr 2009 07:04:06 -0400, Frank Benoit wrote: M$ and Java have chosen to use utf16 as their default Unicode character encoding. I am sure, the decision was not made without good reasoning. What are their arguments? Why does D propagate utf8 as the default? E.g. Exception.msg Objec

Re: Why is utf8 the default in D?

2009-04-27 Thread Andrei Alexandrescu
Michel Fortin wrote: On 2009-04-27 07:04:06 -0400, Frank Benoit said: M$ and Java have chosen to use utf16 as their default Unicode character encoding. I am sure, the decision was not made without good reasoning. What are their arguments? Why does D propagate utf8 as the default? E.g. Excep

Re: Why is utf8 the default in D?

2009-04-27 Thread Michel Fortin
On 2009-04-27 07:04:06 -0400, Frank Benoit said: M$ and Java have chosen to use utf16 as their default Unicode character encoding. I am sure, the decision was not made without good reasoning. What are their arguments? Why does D propagate utf8 as the default? E.g. Exception.msg Object.toStrin

Re: Why is utf8 the default in D?

2009-04-27 Thread Christopher Wright
Frank Benoit wrote: M$ and Java have chosen to use utf16 as their default Unicode character encoding. I am sure, the decision was not made without good reasoning. What are their arguments? Why does D propagate utf8 as the default? Unicode did not match ISO10646 when Java and Windows standardiz

Why is utf8 the default in D?

2009-04-27 Thread Frank Benoit
M$ and Java have chosen to use utf16 as their default Unicode character encoding. I am sure, the decision was not made without good reasoning. What are their arguments? Why does D propagate utf8 as the default? E.g. Exception.msg Object.toString() new std.stream.File( char[] )