From ab778ced048cad27b7c10808acfa93861ea91fce Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 10 Aug 2015 22:13:22 +0100 Subject: Set up for the correct handling of UTF-8 with Windows paths before trying to access the config file. Fixes #654. --- src/tools/dcpomatic_cli.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/tools/dcpomatic_cli.cc') 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; } - - -- cgit v1.2.3