Mako unicode problems.

2007-06-20 Thread [EMAIL PROTECTED]
Hello guys, I'm trying to use mako with unicode, but I get the following error: mako.exceptions.CompileException: Unicode decode operation of encoding 'utf-8' failed in file 'foo.txt' at line: 0 char: 0 I read the mako documentation and tried the following example: # -*- coding: utf-8 -*- from

Re: Mako unicode problems.

2007-06-24 Thread Philip Jenvey
On Jun 20, 2007, at 8:14 PM, [EMAIL PROTECTED] wrote: > > Hello guys, I'm trying to use mako with unicode, but I get the > following error: > > mako.exceptions.CompileException: Unicode decode operation of encoding > 'utf-8' failed in file 'foo.txt' at line: 0 char: 0 I'm not sure why you're se

Re: Mako unicode problems.

2007-06-24 Thread Jesús Antonio Sánchez Antúnez
After some thought, I think my editor is not saving it in utf-8. I'll check that out. Thanks Phillip. On 6/24/07, Philip Jenvey <[EMAIL PROTECTED]> wrote: > > > > On Jun 20, 2007, at 8:14 PM, [EMAIL PROTECTED] wrote: > > > > > Hello guys, I'm trying to use mako with unicode, but I get the > > fol