summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-02-11 22:22:13 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-12 19:40:43 +0100
commitceba5736c6981cdad4ab9178a97518ecb70f1602 (patch)
treefe9f3a127d50b333c0539bf001bd7c43979076d4
parent5ba982a14020f75e678d794c7c1c5246b0332e45 (diff)
Fix non-ASCII paths in the disk writer on Windows (#2440).
-rw-r--r--src/tools/dcpomatic_disk_writer.cc2
1 files changed, 2 insertions, 0 deletions
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