From: Carl Hetherington Date: Tue, 4 Mar 2014 18:46:32 +0000 (+0000) Subject: Force dcpomatic_create output to be marked UTF-8 when it goes to the console. X-Git-Tag: v2.0.48~900^2~1 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=46de4b4b6eac485652de8575f052d0f152d2dbd8;p=dcpomatic.git Force dcpomatic_create output to be marked UTF-8 when it goes to the console. --- 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";