durusmail: quixote-users: Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
Htmltext and latin-1 characters
2006-05-10
Mike Orr
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-10
Ian Bicking
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-11
David Binger
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-10
Mike Orr
2006-05-11
David Binger
2006-05-11
Mike Orr
2006-05-11
David Binger
2006-05-11
David Binger
2006-05-11
David Binger
2006-05-13
Akihiro KAYAMA
2006-05-13
Mike Orr
2006-05-15
Akihiro KAYAMA
Re: Htmltext and latin-1 characters
2006-06-04
ak (2 parts)
2006-06-06
Akihiro KAYAMA
2006-06-07
Mike Orr
2006-06-08
Mike Orr
Re: Htmltext and latin-1 characters
2006-06-05
Akihiro KAYAMA
2006-06-05
Mike Orr
2006-06-05
Mike Orr
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
David Binger
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