fix encoding bug in stemmadot input
Tara L Andrews [Mon, 3 Sep 2012 11:54:44 +0000 (13:54 +0200)]
lib/Text/Tradition/Stemma.pm

index 2e474e8..5ceffaa 100644 (file)
@@ -269,6 +269,7 @@ sub alter_graph {
        my( $self, $dotstring ) = @_;
        my $dotfh;
        open $dotfh, '<', \$dotstring;
+       binmode $dotfh, ':utf8';
        $self->_graph_from_dot( $dotfh );
 }