Changeset 12bfb27 for skype/skyped.py


Ignore:
Timestamp:
2008-11-07T13:34:51Z (16 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
7199b74
Parents:
cc5f8ac (diff), c49820d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of vmiklos@…:/home/vmiklos/ftp/vmiklos.hu/htdocs/project/bitlbee-skype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skyped.py

    rcc5f8ac r12bfb27  
    178178                if not len(msg_text) or msg_text == "PONG":
    179179                        return
    180                 e = msg_text.decode(locale.getdefaultlocale()[1])
     180                try:
     181                        e = msg_text.decode(locale.getdefaultlocale()[1])
     182                except ValueError:
     183                        e = msg_text.decode('UTF-8')
    181184                dprint('>> ' + e)
    182185                try:
Note: See TracChangeset for help on using the changeset viewer.