Pedro Algarvio added the comment: This is not a 2.7 issue only:
>>> import sys >>> sys.version_info (2, 6, 5, 'final', 0 >>> 'Foo {0}'.format(u'bár') Traceback (most recent call last): File "<stdin>", line 1, in <module> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 1: ordinal not in range(128) >>> ---------- nosy: +Pedro.Algarvio _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7300> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com