Suppressing UTFException / Squashing Bad Codepoints?

Jonathan M Davis jmdavisProg at gmx.com
Mon Dec 23 23:02:30 PST 2013


On Tuesday, December 24, 2013 02:06:22 Brad Anderson wrote:
> On Monday, 23 December 2013 at 22:41:47 UTC, John Carter wrote:
> > Eww.
> > 
> > If I read the source correctly it mallocs a new array and runs
> > down the
> > original at least three times! (Four if you count peeks)
> > 
> > Not to mention that it is completely unintegrated with stdio.
> > 
> > Sigh! I miss the Good Old Days of 7-bit ASCII! ;-)
> 
> Pull requests with improvements are always welcome. I don't think
> std.encoding gets a lot of attention.

Andrei has also stated that he thinks that it's a failed experiment. I think 
that it's one of the modules that could use a redesign (including making it 
range based), but no one has taken the time to do that.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list