From 46de4b4b6eac485652de8575f052d0f152d2dbd8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 4 Mar 2014 18:46:32 +0000 Subject: [PATCH] Force dcpomatic_create output to be marked UTF-8 when it goes to the console. --- src/tools/dcpomatic_create.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.30.2