Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2016-06-16 22:49:09 +0300
committerYann Leboulanger <asterix@lagaule.org>2016-06-16 22:49:09 +0300
commitb353a0721af2c21600c18bede8ac3e9fb5c9afd0 (patch)
tree554ffff2a90aef0b9aca33f4d8f63a59f1e9abde /src/profile_window.py
parentbbcd2d7886447ccf8c9559d66a4073e79ef2fa46 (diff)
fix length of printed string in about tab of vcard window
Diffstat (limited to 'src/profile_window.py')
-rw-r--r--src/profile_window.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile_window.py b/src/profile_window.py
index c68b450ef..729cb01c4 100644
--- a/src/profile_window.py
+++ b/src/profile_window.py
@@ -288,7 +288,7 @@ class ProfileWindow:
else:
if i == 'DESC':
self.xml.get_object('DESC_textview').get_buffer().set_text(
- vcard_[i], len(vcard[i]))
+ vcard_[i], len(vcard[i].encode('utf-8')))
else:
self.set_value(i + '_entry', vcard_[i])
if self.update_progressbar_timeout_id is not None: