fixed some unicode problems for 2.6

This commit is contained in:
Nathan Fritz
2010-02-25 01:12:15 +00:00
parent 7d41d68293
commit e06cdec81a
3 changed files with 16 additions and 1 deletions

View File

@@ -1,8 +1,13 @@
# coding=utf8
import sleekxmpp
import logging
from optparse import OptionParser
import time
reload(sys)
sys.setdefaultencoding('utf8')
class Example(sleekxmpp.ClientXMPP):
def __init__(self, jid, password):