Skip Menu |

This queue is for tickets about the GraphViz2 CPAN distribution.

Report information
The Basics
Id: 75589
Status: resolved
Priority: 0/
Queue: GraphViz2

People
Owner: Nobody in particular
Requestors: felliott [...] virginia.edu
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.00
Fixed in: (no value)



Subject: v2.00 breaks binary output formats
Hello, The newest release of GraphViz2 v2.00 breaks binary output formats. This can be demonstrated by running one of the demo scripts with 'png' as the output format. The script will produce a deluge of warnings of the form: utf8 "\xEC" does not map to Unicode at /Users/felliott/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Capture/Tiny.pm line 278. and will produce an invalid png. The culprit is the 'use open' pragma, which turns on the utf-8 encoding layer, even for binary data. Cheers, Fitz Elliott
Subject: Re: [rt.cpan.org #75589] v2.00 breaks binary output formats
Date: Wed, 07 Mar 2012 08:29:20 +1100
To: bug-GraphViz2 [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Fitz On 07/03/12 07:29, Fitz Elliott via RT wrote: Show quoted text
> > The newest release of GraphViz2 v2.00 breaks binary output formats. > This can be demonstrated by running one of the demo scripts with 'png' > as the output format. The script will produce a deluge of warnings of > the form: > > utf8 "\xEC" does not map to Unicode at > /Users/felliott/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Capture/Tiny.pm > line 278. > > and will produce an invalid png. > > The culprit is the 'use open' pragma, which turns on the utf-8 encoding > layer, even for binary data.
My fault. I'll investigate ASAP. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622
Subject: Re: [rt.cpan.org #75589] v2.00 breaks binary output formats
Date: Wed, 07 Mar 2012 10:21:13 +1100
To: bug-GraphViz2 [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Fitz I've released V 2.01. It does get a 'Wide character in print...' msg when outputting to PNG, even with binmode on. The FAQ discusses this issue. If it still fails though, please let me know. TIA. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622
Subject: Re: [rt.cpan.org #75589] v2.00 breaks binary output formats
Date: Tue, 6 Mar 2012 18:33:15 -0500
To: bug-GraphViz2 [...] rt.cpan.org
From: Fitz Elliott <felliott [...] virginia.edu>
Show quoted text
> I've released V 2.01. It does get a 'Wide character in print...' msg > when outputting to PNG, even with binmode on. The FAQ discusses this issue. > > If it still fails though, please let me know.
Hey Ron, It works for me, and without the 'wide character' message. Thank you for the quick response! Cheers, Fitz
Resolved in V 2.01.