Thank you Jared!

It was surely display when assigned variable in kid template.
But, variable of via controller that assigned multibyte characters is
gable.

Ex.)

controllers.py

class Root(controllers.Root):

    @turbogears.expose(html="test.templates.test")
    def test(self):
        title = u"タイトル"
        return dict(title=title)


test.kid

<?xml version="1.0" encoding="utf-8"?>
<html xmlns:py="http://purl.org/kid/ns#";>
<body>
${title}
</body>
</html>

XHTML output

タイトル

Oh...
Doesn't support multibyte characters at Turbogears or Cherrypy ?

Reply via email to