Merge master.
[dcpomatic.git] / src / lib / util.cc
index 760b826c7649cc18cc20462bf07773c459412897..06da94294e4b8fe877d155c9c9158dedd73c7a29 100644 (file)
@@ -301,6 +301,7 @@ dvdomatic_setup_i18n (string lang)
 
 #ifdef DVDOMATIC_WINDOWS
        bindtextdomain ("libdvdomatic", mo_path().string().c_str());
+       bind_textdomain_codeset ("libdvdomatic", "UTF8");
 #endif 
 
 #ifdef DVDOMATIC_POSIX
@@ -971,7 +972,7 @@ FrameRateConversion::FrameRateConversion (float source, int dcp)
 
                if (change_speed) {
                        float const pc = dcp * 100 / (source * factor());
-                       description += String::compose (_("DCP will run at %1%% of the source speed."), pc);
+                       description += String::compose (_("DCP will run at %1%% of the source speed.\n"), pc);
                }
        }
 }