Message11041
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 |
|
Date |
User |
Action |
Args |
2007-08-23 14:01:52 | admin | link | issue563915 messages |
2007-08-23 14:01:52 | admin | create | |
|