Thanks Bruno, I have read that. In a thread a few days ago I
asked
questions about it, see this thread:
http://groups.google.com/grou
p/pylons-discuss/browse_thread/thread/bceff9ef23772e5d/35aa3
a21e4ce3e43?lnk=st&q=&rnum=30#35aa3a21e4ce3e43
The thing is, in the thread, 2 people mentioned that it was
unnecessary, which is true when one does not use umlauts
On May 16, 12:14 pm, "bruno.desthuilli... gmail.com"
<bruno.desthuilli... gmail.com> wrote:
> On 16 mai, 10:03, voltron <nhy... googlemail.com> wrote:
>
>
>
> > I did some poking around. This is the Pylons
debug:
>
> > CompileException: Could not read template using
encoding of 'ascii'.
> > Did you forget a magic encoding comment? in file
'D:Projects
> >
Pylons_projectstesttesttemplates/standard.html' at line:
0 char: 0
> > 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML
4.01 Transitional//EN"
> > "http:/
/www.w3.org/TR/html4/loose.dtd">
> > 2 <html>
> > 3 <head>
> > 4 <title>Fön</title>
> > 5 <link rel="SHORTCUT ICON"
href="img/favicon.ico">
>
> > I tried saving the file as UTF-8, that die not
help at all, the Paster
> > server threw an exception :
>
> > File "memory:0x128a810", line 61, in
render_body
> > UnicodeDecodeError: 'ascii' codec can't decode
byte 0xef in position
> > 0: ordinal
> > not in range(128)
>
> You may want to reads this:http://docs.pythonweb.org/display/pylons
cookbook/Using+Mako+templatin...
>
> > Does someone have an idea on the workflow of
constructing templaters
> > for mako from plain HTML from designers?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "pylons-discuss" group.
To post to this group, send email to pylons-discuss googlegroups.com
To unsubscribe from this group, send email to
pylons-discuss-unsubscribe googlegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---
|