changeset 7947c48a72a3 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=7947c48a72a3 description: fix charset issue when printing time. Fixes #8037
diffstat:
src/conversation_textview.py | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
diffs (14 lines):
diff -r 406b2dc73190 -r 7947c48a72a3 src/conversation_textview.py --- a/src/conversation_textview.py Sun Jul 19 00:03:32 2015 +0200 +++ b/src/conversation_textview.py Mon Jul 20 18:14:38 2015 +0200 @@ -1393,10 +1393,6 @@ timestamp_str = helpers.from_one_line(timestamp_str) format_ += timestamp_str tim_format = time.strftime(format_, tim) - if locale.getpreferredencoding() not in ('KOI8-R', 'cp1251'): - # if tim_format comes as unicode because of day_str. - # we convert it to the encoding that we want (and that is utf-8) - tim_format = helpers.ensure_utf8_string(tim_format) return tim_format
def detect_other_text_tag(self, text, kind):