summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_batch.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_batch.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_batch.cc')
-rw-r--r--src/tools/dcpomatic_batch.cc2
1 files changed, 2 insertions, 0 deletions
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