This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author anglerud
Recipients
Date 2002-06-03.15:09:40
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
When using gettext, and a token is not translated, for
example:
print _('Foo')
the output will be 'Foo', as expected. 
However, if that entry is:
print _(u'Foo')
we get:
Traceback (most recent call last):
  File "./translation.py", line 12, in ?
    print _(u'Foo')
  File "/usr/lib/python2.2/gettext.py", line 195, in
ugettext
    return unicode(tmsg, self._charset)
TypeError: decoding Unicode is not supported
History
Date User Action Args
2007-08-23 14:01:52adminlinkissue563915 messages
2007-08-23 14:01:52admincreate