diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-03-03 16:23:06 -0600 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2021-03-03 16:23:06 -0600 |
| commit | 7d20de77d2f340241b77ff35fd592d4d62d29856 (patch) | |
| tree | 22dbcdceaea1f90545f30866ee923205ce90a654 /src/courtroom.cpp | |
| parent | e13e6183d967d7ca7218240bae252dd7bdf3c182 (diff) | |
Fix files not being written as UTF-8
Diffstat (limited to 'src/courtroom.cpp')
| -rw-r--r-- | src/courtroom.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 1d0509b3..a89b8143 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -4011,6 +4011,7 @@ void Courtroom::on_ooc_return_pressed() } QTextStream out(&file); + out.setCodec("UTF-8"); foreach (chatlogpiece item, ic_chatlog_history) { out << item.get_full() << '\n'; |
