diff options
Diffstat (limited to 'src/subtitle_asset.cc')
| -rw-r--r-- | src/subtitle_asset.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc index 5decc1e3..ca91e2c7 100644 --- a/src/subtitle_asset.cc +++ b/src/subtitle_asset.cc @@ -386,7 +386,7 @@ SubtitleAsset::write_xml (ostream& s) const font->set_attribute ("Weight", "normal"); } - if (!subtitle || + if (!subtitle || font_changed || (last_in != (*i)->in() || last_out != (*i)->out() || last_fade_up_time != (*i)->fade_up_time() || @@ -412,6 +412,6 @@ SubtitleAsset::write_xml (ostream& s) const text->add_child_text ((*i)->text()); } - doc.write_to_stream_formatted (s); + doc.write_to_stream_formatted (s, "UTF-8"); } |
