From: Tara L Andrews Date: Mon, 3 Sep 2012 11:54:44 +0000 (+0200) Subject: fix encoding bug in stemmadot input X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f90b2bde146606ebb93bf28df94d938c2dd64646;p=scpubgit%2Fstemmatology.git fix encoding bug in stemmadot input --- diff --git a/lib/Text/Tradition/Stemma.pm b/lib/Text/Tradition/Stemma.pm index 2e474e8..5ceffaa 100644 --- a/lib/Text/Tradition/Stemma.pm +++ b/lib/Text/Tradition/Stemma.pm @@ -269,6 +269,7 @@ sub alter_graph { my( $self, $dotstring ) = @_; my $dotfh; open $dotfh, '<', \$dotstring; + binmode $dotfh, ':utf8'; $self->_graph_from_dot( $dotfh ); }