X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/09dded3d8606e8e4406fffcf477ceb4a1c97fee2..8a57745b13b2875fcf6441b06171a1fd762c51ee:/librarian/font-optimizer/Font/Subsetter.pm?ds=sidebyside diff --git a/librarian/font-optimizer/Font/Subsetter.pm b/librarian/font-optimizer/Font/Subsetter.pm index cd1c40c..7aa60dc 100644 --- a/librarian/font-optimizer/Font/Subsetter.pm +++ b/librarian/font-optimizer/Font/Subsetter.pm @@ -1493,7 +1493,7 @@ sub subset { $self->{features} = $options->{features}; - my $uid = substr(sha1_hex("$filename $chars"), 0, 16); + my $uid = substr(sha1_hex(encode_utf8("$filename $chars")), 0, 16); if (not $self->{font}) { $self->preload($filename);