D Map Treemap viewer

Vladimir Panteleev vladimir at thecybershadow.net
Thu Oct 27 17:57:55 PDT 2011


On Fri, 28 Oct 2011 03:45:11 +0300, Andrej Mitrovic  
<andrej.mitrovich at gmail.com> wrote:

> This is awesome and I was just about to request for something like
> this too. Great job!
>
> What is not awesome is that DMD spits out map files with invalid code  
> points. :(
>
> DMapTreeMap>rdmd treemapgen.d test13_2056.map out.json
> std.utf.UTFException at std\utf.d(637): Invalid UTF-8 sequence (at index  
> 15342)
>
> I've checked it with an editor and there are tons of invalid code
> points in the map file.

Ah, it shouldn't fail on that... the original D1 code I recycled worked  
just fine on arbitrary encodings, but D2's splitLines can't handle bad  
UTF. Anyway, fixed.

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list