DIP76: Autodecode Should Not Throw
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 7 06:42:56 PDT 2015
On Tue, Apr 07, 2015 at 02:21:50AM -0700, Walter Bright via Digitalmars-d wrote:
> On 4/7/2015 2:10 AM, Vladimir Panteleev wrote:
[...]
> >I think the correct solution to that is to kill auto-decoding :) Then
> >all decoding is explicit, and since it is explicit, it is trivial to
> >allow specifying the desired behavior upon encountering invalid
> >UTF-8.
>
> I agree autodecoding is a mistake, but we're stuck with it.
How so? There *are* possible options we can consider to migrate away
from autodecoding. AFAICT the real roadblock here is that some people
strongly disagree with this, so it's more a community barrier than a
technical one.
T
--
Unix is my IDE. -- Justin Whear
More information about the Digitalmars-d
mailing list