Call dcpomatic_setup_path_encoding() early enough (#2665).
authorCarl Hetherington <cth@carlh.net>
Sat, 25 Nov 2023 20:07:50 +0000 (21:07 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 26 Nov 2023 23:53:17 +0000 (00:53 +0100)
commitbf0cebd121a69f87a81e90e2cc64c08f32da6f7c
tree1c7af29929e4b58ff68ddf5e8d4ae04f62fa6cb2
parentb8ae9112b429f9cd18afc208cbbda942bc62d0b7
Call dcpomatic_setup_path_encoding() early enough (#2665).

On Windows this was previously called after we instantiated a Config
object to get win32_console(), meaning that the required path voodoo
was not active when looking for the config.  This caused problems
if the user has a non-ASCII user name.
src/tools/dcpomatic.cc