Then we can create boost::filesystem::paths from UTF-8 literals without
everything going west.
Config::instance()->set_dcp_asset_filename_format (dcp::NameFormat ("%c"));
-#ifdef DCPOMATIC_WINDOWS
- /* This is necessary so that the UTF8 string constant below gets converted properly */
- std::locale::global(boost::locale::generator().generate(""));
- boost::filesystem::path::imbue(std::locale());
-#endif
-
auto r = make_shared<FFmpegContent>("test/data/flät_red.png");
auto g = make_shared<FFmpegContent>("test/data/flat_green.png");
auto b = make_shared<FFmpegContent>("test/data/flat_blue.png");
dcpomatic_setup ();
setup_test_config ();
capture_ffmpeg_logs();
+ dcpomatic_setup_path_encoding();
EncodeServerFinder::drop();