git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bb859c2
)
Changed CSV History export to UTF-8 labels
author
dabura667
<matsuringo667@gmail.com>
Wed, 26 Feb 2014 13:21:51 +0000 (22:21 +0900)
committer
dabura667
<matsuringo667@gmail.com>
Wed, 26 Feb 2014 13:24:52 +0000 (22:24 +0900)
Japanese characters were causing history to be aborted halfway through
export, so by changing the label to UTF-8 I was able to export the CSV
properly.
gui/qt/lite_window.py
patch
|
blob
|
history
diff --git
a/gui/qt/lite_window.py
b/gui/qt/lite_window.py
index
6886743
..
c542306
100644
(file)
--- a/
gui/qt/lite_window.py
+++ b/
gui/qt/lite_window.py
@@
-122,6
+122,7
@@
def csv_transaction(wallet):
if tx_hash:
label, is_default_label = wallet.get_label(tx_hash)
+ label = label.encode('utf-8')
else:
label = ""