summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_create.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-03-04 18:46:32 +0000
committerCarl Hetherington <cth@carlh.net>2014-03-04 18:46:32 +0000
commit46de4b4b6eac485652de8575f052d0f152d2dbd8 (patch)
tree95dad4c53dde972ad1c37b67900e262cd5503ff7 /src/tools/dcpomatic_create.cc
parent7900abb7c0e041d30fa3a007c85e90b8ae1f45b2 (diff)
Force dcpomatic_create output to be marked UTF-8 when it goes to the console.
Diffstat (limited to 'src/tools/dcpomatic_create.cc')
-rw-r--r--src/tools/dcpomatic_create.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc
index 3dfbd63b5..4f737dd5a 100644
--- a/src/tools/dcpomatic_create.cc
+++ b/src/tools/dcpomatic_create.cc
@@ -179,7 +179,7 @@ main (int argc, char* argv[])
if (!output.empty ()) {
film->write_metadata ();
} else {
- film->metadata()->write_to_stream_formatted (cout);
+ film->metadata()->write_to_stream_formatted (cout, "UTF-8");
}
} catch (exception& e) {
cerr << argv[0] << ": " << e.what() << "\n";