Fixes to UTF-8 handling in file paths

This commit is contained in:
Alessandro Ranellucci committed 2014-11-22 21:55:45 +01:00
1 parent 049859e5b1
commit 989ec5cf4d
5 files changed
+20 -8

No files matched your search

+2 -1
View File
@@ -380,7 +380,8 @@ sub read_ini {
my ($file) = @_;
local $/ = "\n";
Slic3r::open(\my $fh, '<', $file);
Slic3r::open(\my $fh, '<', $file)
or die "Unable to open $file: $!\n";
binmode $fh, ':utf8';
my $ini = { _ => {} };