This problem is getting on my nerves...
I can't find a way to save my templates in unix format with the text
editors I have installed (notepad, wordpad, word, idle).
Is there any way, if not with an editor at least programmatically, to
save a file as unix-style CLRF?



On Mar 17, 10:57 pm, Flywood <[EMAIL PROTECTED]> wrote:
> Thank you all for the valuable comments. :) I had found the cause for
> this problem: I saved my template with UTF-8 format. it seems that the
> web.py doesn't decode it right and think there was other non-printed
> char before "$def with name".  after I saved it with ansi format. the
> problem gone.
>
> so may I have the conclusion that the web.py doesn't support UTF-8/
> Unicode well?
>
> On 3月16日, 下午1时23分, Juan Pablo Scaletti <[EMAIL PROTECTED]>
> wrote:
>
> > He is using "templetor" (web.py's template system) not cheetah.
>
> > The "could not find 'def' (line 1) " error appears when the template
> > has a space before the "$def with name".
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to