Re: Converting characteres non-ASCII in the templates

2006-08-13 Thread Ivan Sagalaev
GinTon wrote: > To convert the names to lower or UPPER case in the templates is used {{ > foo.name|lower }} and {{ foo.name|upper }} > > But is possible convert characters non-ASCII? Is there any of use > foo.name.decode('utf-8').upper() in the templates? There is a patch fixing string filters

Re: Converting characteres non-ASCII in the templates

2006-08-12 Thread limodou
On 8/13/06, GinTon <[EMAIL PROTECTED]> wrote: > > To convert the names to lower or UPPER case in the templates is used {{ > foo.name|lower }} and {{ foo.name|upper }} > > But is possible convert characters non-ASCII? Is there any of use > foo.name.decode('utf-8').upper() in the templates? > > Tha

Re: Converting characteres non-ASCII in the templates

2006-08-12 Thread Adrian Holovaty
On 8/12/06, GinTon <[EMAIL PROTECTED]> wrote: > To convert the names to lower or UPPER case in the templates is used {{ > foo.name|lower }} and {{ foo.name|upper }} > > But is possible convert characters non-ASCII? Is there any of use > foo.name.decode('utf-8').upper() in the templates? Hi GinTo

Converting characteres non-ASCII in the templates

2006-08-12 Thread GinTon
To convert the names to lower or UPPER case in the templates is used {{ foo.name|lower }} and {{ foo.name|upper }} But is possible convert characters non-ASCII? Is there any of use foo.name.decode('utf-8').upper() in the templates? Thanks in advance! --~--~-~--~~~-