Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Explicitly set SRT Writer codec to UTF-8

  • Loading branch information...
commit 6dbdc9166435676b27ce8653ca1e6b7a86548967 1 parent 3bb150c
daniel-kristjansson daniel-kristjansson authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mythtv/libs/libmythtv/srtwriter.h
1  mythtv/libs/libmythtv/srtwriter.h
View
@@ -29,6 +29,7 @@ class MTV_PUBLIC SRTWriter
SRTWriter(const QString &fileName) :
m_outFile(fileName), m_outStream(&m_outFile), m_srtCounter(0)
{
+ m_outStream.setCodec("UTF-8");
if (!m_outFile.open(QFile::WriteOnly))
{
LOG(VB_GENERAL, LOG_ERR, QString("Failed to create '%1'")
Please sign in to comment.
Something went wrong with that request. Please try again.