DIP76: Autodecode Should Not Throw
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 7 06:40:27 PDT 2015
On Tue, Apr 07, 2015 at 09:10:32AM +0000, Vladimir Panteleev via Digitalmars-d 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 used to be pro-autodecoding... nowadays, I'm starting to lean towards
killing it. This is another nail in the coffin.
T
--
He who sacrifices functionality for ease of use, loses both and deserves neither. -- Slashdotter
More information about the Digitalmars-d
mailing list