Re: Re: [Cheetahtemplate-discuss] 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:23 PM, Ian Bicking wrote: > if not isinstance(s, basestring): > if hasattr(s, '__unicode__'): > s = unicode(s) > else: > s = str(s) This logic is in quixote.html.stringify(). (and in qpy.stringify()).