Re: Htmltext and latin-1 characters

David Binger <[email protected]>
Newsgroups gmane.comp.web.quixote.user,gmane.comp.python.cheetah
Message-ID <[email protected]>
On May 10, 2006, at 5:15 PM, Mike Orr wrote:

> Another problem is, all my controller methods instantiate a template
> and "return str(t)" it.  I'll have to change that to "return
> unicode(t)" or "return t.respond()" or something; I'm not sure  
> what. Plus who knows how many htmltext objects are used as placeholder
> values; e.g., Quixote forms.  So it looks like I'll have to make
> changes all over my program.

FYI,
In QPY, the str of the h8 instance is always the utf8 encoding,
so calling str on them will not fail.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.