Fix non-ASCII paths in the disk writer on Windows (#2440).
authorCarl Hetherington <cth@carlh.net>
Sat, 11 Feb 2023 21:22:13 +0000 (22:22 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 12 Feb 2023 18:40:43 +0000 (19:40 +0100)
src/tools/dcpomatic_disk_writer.cc

index 3535ffa1c3c8fea1b87e5891cfe1ab43519c9dd3..3bb6fcd3ffe78780484a5af80d46bfd6134d5c91 100644 (file)
@@ -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