Zephor Wu added the comment: here is the case, sorry again for just typing it before and not testing it myself :)
# coding=utf-8 import logging logging.basicConfig(format='%(name)s %(message)s') logger = logging.getLogger(u'测试') logger.error(u'测试') btw, i'm using python2.7.10, mac osx 10.11, but i think this can effect all python2 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25664> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com