diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2016-06-16 22:49:09 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2016-06-16 22:49:09 +0300 |
commit | b353a0721af2c21600c18bede8ac3e9fb5c9afd0 (patch) | |
tree | 554ffff2a90aef0b9aca33f4d8f63a59f1e9abde /src/profile_window.py | |
parent | bbcd2d7886447ccf8c9559d66a4073e79ef2fa46 (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.py | 2 |
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: |