commit 4703d93b0f04a472ba9388da2f1e5eec5f3dc112
parent 10a0b0ad7f97666143e3172542970f765c54ecfd
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 2 Apr 2018 19:54:01 +0200
fix #4216
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py
@@ -411,7 +411,7 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
lines.append([item['txid'], item.get('label', ''), item['confirmations'], item['value'], item['date']])
else:
lines.append(item)
- with open(fileName, "w+") as f:
+ with open(fileName, "w+", encoding='utf-8') as f:
if is_csv:
import csv
transaction = csv.writer(f, lineterminator='\n')