mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 21:14:01 -06:00
Fixes to UTF-8 handling in file paths
This commit is contained in:
parent
049859e5b1
commit
989ec5cf4d
5 changed files with 20 additions and 8 deletions
|
@ -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 = { _ => {} };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue