From: Carl Hetherington Date: Sat, 11 Feb 2023 21:22:13 +0000 (+0100) Subject: Fix non-ASCII paths in the disk writer on Windows (#2440). X-Git-Tag: v2.16.43~5 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=ceba5736c6981cdad4ab9178a97518ecb70f1602 Fix non-ASCII paths in the disk writer on Windows (#2440). --- diff --git a/src/tools/dcpomatic_disk_writer.cc b/src/tools/dcpomatic_disk_writer.cc index 3535ffa1c..3bb6fcd3f 100644 --- a/src/tools/dcpomatic_disk_writer.cc +++ b/src/tools/dcpomatic_disk_writer.cc @@ -300,6 +300,8 @@ try int main () { + dcpomatic_setup_path_encoding(); + #ifdef DCPOMATIC_OSX /* On macOS this is running as root, so config_path() will be somewhere in root's * home. Instead, just write to stdout as the macOS process control stuff will