Fix encoding of XML used to communicate with server.
authorCarl Hetherington <cth@carlh.net>
Thu, 29 Aug 2013 20:56:44 +0000 (21:56 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 29 Aug 2013 20:56:44 +0000 (21:56 +0100)
src/lib/dcp_video_frame.cc

index b5b0312924daac1b01fd94195c33923a72e42e67..1c812cbf25c90a2e31a4176f6b4a43aea719a594 100644 (file)
@@ -272,7 +272,7 @@ DCPVideoFrame::encode_remotely (ServerDescription serv)
        add_metadata (root);
 
        stringstream xml;
-       doc.write_to_stream (xml);
+       doc.write_to_stream (xml, "UTF-8");
 
        _log->log (String::compose (
                           N_("Sending to remote; pixel format %1, components %2, lines (%3,%4,%5), line sizes (%6,%7,%8)"),