summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_server.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_server.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_server.cc')
-rw-r--r--src/tools/dcpomatic_server.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_server.cc b/src/tools/dcpomatic_server.cc
index 37eeb1e8e..e10fd3138 100644
--- a/src/tools/dcpomatic_server.cc
+++ b/src/tools/dcpomatic_server.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -159,6 +159,7 @@ private:
return false;
}
+ dcpomatic_setup_path_encoding ();
dcpomatic_setup ();
_icon = new TaskBarIcon;