summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-08-10 22:13:22 +0100
committerCarl Hetherington <cth@carlh.net>2015-08-10 22:44:31 +0100
commitab778ced048cad27b7c10808acfa93861ea91fce (patch)
tree37e04b2b36ff78e3c901c5f650f50210ea018c8a /src/tools/dcpomatic_cli.cc
parentc14ea4bf3907eb2a4f643a445cc4b232a6d425ce (diff)
Set up for the correct handling of UTF-8 with Windows
paths before trying to access the config file. Fixes #654.
Diffstat (limited to 'src/tools/dcpomatic_cli.cc')
-rw-r--r--src/tools/dcpomatic_cli.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc
index f885412ef..2659b61bb 100644
--- a/src/tools/dcpomatic_cli.cc
+++ b/src/tools/dcpomatic_cli.cc
@@ -177,6 +177,7 @@ main (int argc, char* argv[])
film_dir = argv[optind];
+ dcpomatic_setup_path_encoding ();
dcpomatic_setup ();
signal_manager = new SignalManager ();
@@ -286,5 +287,3 @@ main (int argc, char* argv[])
return error ? EXIT_FAILURE : EXIT_SUCCESS;
}
-
-