Closed einkoro closed 11 years ago
Seems like file::slurp is the source:
(ssxslt line 119) print $styles{$style_id}->output_string($style);
--> (xml::parser line 29) $self->parse_string(file::slurp($file));
--> (file line 153) open(my $fh, $file) ...
The best option here I think is to add an optional encoding like:
string file_contents = file::slurp(string filename[, string encoding])
http://ahinea.com/en/tech/perl-unicode-struggle.html http://stackoverflow.com/questions/6162484/why-does-modern-perl-avoid-utf-8-by-default
I'm fairly sure commit d4c59ea0e9e02ade72e423ed34c7654579d987f8 fixed this. At the very least I haven't seen it in logs since then.