Working on the blog plugin, I stumbled over yet another unicode related
issue. It is addressed in ticket #3024 [1] and the patch there fixes
the issue [2]. From reading the cboos' comments, it appears that my
macro is returning a str object instead of a unicode object. My guess
is that is because I'm having clearsilver render a page and then am
returning that result.
My real question is, who's responsibility should it be to make sure the
data is unicode? Should I wrap the return value from the
req.hdf.render() function in to_unicode? or should I just rely on the
formatter fixing my input?
-John
[1] http://projects.edgewall.com/trac/ticket/3024
[2] though a different error when using [3138] has been introduced.
details are in the ticket
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev