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_batch.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tools/dcpomatic_batch.cc') diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc index 48ef8f798..8d787dd50 100644 --- a/src/tools/dcpomatic_batch.cc +++ b/src/tools/dcpomatic_batch.cc @@ -202,6 +202,8 @@ class App : public wxApp unsetenv ("UBUNTU_MENUPROXY"); #endif + dcpomatic_setup_path_encoding (); + /* Enable i18n; this will create a Config object to look for a force-configured language. This Config object will be wrong, however, because dcpomatic_setup -- cgit v1.2.3