Oct. 7, 2003
12:07 a.m.
On Mon, 06 Oct 2003 19:29:55 -0400 Rita Díaz y/o Rodrigo Benenson <rdrb@123.cl> wrote:
def wmfactory_text(self, request): return u"eló"
(This is not legal Python unless you're using 2.3 and have specifically said your source code is iso-8859-1. It can break on other people's computers if they have other default encodings than yours. \u escapes will always work, of course. Not related to your problem though.) Make sure you specify the encoding in your HTML document! I'm pretty sure that microdom (and thus woven) are semi-hardcoded to UTF8, so try saying that in your html page, and just returning unicode. -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python & Twisted consulting