Multilang support

darcs-hash:20060128174218-86b55-4a70de917515e6938b764351be56a81991a5f95b.gz
This commit is contained in:
David Rousselie
2006-01-28 18:42:18 +01:00
parent ccde3a2bc9
commit 8fdd9d3be4
5 changed files with 358 additions and 295 deletions

3
jmc.py
View File

@@ -31,6 +31,9 @@ from jabber.config import Config
def main(config_file = "jmc.xml", isDebug = 0):
try:
reload(sys)
sys.setdefaultencoding('utf-8')
del sys.setdefaultencoding
logger = logging.getLogger()
logger.addHandler(logging.StreamHandler())
if isDebug > 0: