Skip to content

Commit

Permalink
Update LoggedProcess.h
Browse files Browse the repository at this point in the history
Changed codecForLocale() to codecForName("UTF-8")

Signed-off-by: marrrrrrme6 <[email protected]>
  • Loading branch information
marrrrrrme6 authored Oct 2, 2024
1 parent 44b4262 commit ff8ad05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions launcher/LoggedProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ class LoggedProcess : public QProcess {
QStringList reprocess(const QByteArray& data, QTextDecoder& decoder);

private:
QTextDecoder m_err_decoder = QTextDecoder(QTextCodec::codecForLocale());
QTextDecoder m_out_decoder = QTextDecoder(QTextCodec::codecForLocale());
QTextDecoder m_err_decoder = QTextDecoder(QTextCodec::codecForName("UTF-8"));
QTextDecoder m_out_decoder = QTextDecoder(QTextCodec::codecForName("UTF-8"));
QString m_leftover_line;
bool m_killed = false;
State m_state = NotRunning;
Expand Down

0 comments on commit ff8ad05

Please sign in to comment.