projects
/
ink-generator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aabd366
)
fix utf-8 chars in svg template
master
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 7 Apr 2011 13:18:16 +0000
(15:18 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 7 Apr 2011 13:18:16 +0000
(15:18 +0200)
generator.pl
patch
|
blob
|
history
diff --git
a/generator.pl
b/generator.pl
index
2db22c7
..
92400a5
100755
(executable)
--- a/
generator.pl
+++ b/
generator.pl
@@
-13,7
+13,7
@@
die "usage: $0 template.svg data.csv\n" unless -r $svg_template && -r $csv_file;
my $svg;
{
local $/ = undef;
- open(my $fh, '<', $svg_template);
+ open(my $fh, '<
:encoding(utf8)
', $svg_template);
$svg = <$fh>;
close $fh;
}