durusmail: quixote-users: Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
Htmltext and latin-1 characters
2006-05-10
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-10
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-11
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-10
2006-05-11
2006-05-11
2006-05-11
2006-05-11
2006-05-11
2006-05-13
2006-05-13
2006-05-15
Re: Htmltext and latin-1 characters
2006-06-04
2006-06-06
2006-06-07
2006-06-08
Re: Htmltext and latin-1 characters
2006-06-05
2006-06-05
2006-06-05
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
David Binger
2006-05-11
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()).


reply