Resolves RT#8847.
Ken Youens-Clark [Wed, 12 Aug 2009 21:17:43 +0000 (21:17 +0000)]
lib/SQL/Translator/Producer/Diagram.pm

index 939a1bf..93b67c8 100644 (file)
@@ -521,6 +521,7 @@ sub produce {
     #
     if ( $out_file ) {
         open my $fh, '>', $out_file or die "Can't write '$out_file': $!\n";
+        binmode $fh;
         print $fh $gd->$output_type;
         close $fh;
     }