[zope2-tracker] [Bug 142290] Re: Can not mix-in unicode and non-latin1 charactor in DTML
Thimo Kraemer
142290 at bugs.launchpad.net
Tue Aug 3 13:08:58 EDT 2010
Wouldn't it be better to convert plain strings from UTF-8 first and fall back to Latin-1 only on error?
This gives the ability to support at least two common used encodings.
Workaround:
The attached monkeypatch modifies the method string.join, which is used by cDocumentTemplate.c later on.
But all this should be implemented directly in cDocumentTemplate.c.
** Patch added: "Patch of DocumentTemplate/DT_Util.py"
http://launchpadlibrarian.net/53003891/DT_Util.py.patch
** Changed in: zope2
Status: Invalid => Opinion
--
Can not mix-in unicode and non-latin1 charactor in DTML
https://bugs.launchpad.net/bugs/142290
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
More information about the zope2-tracker
mailing list