Thanks Matt, but the pepe suggestion does not work, I am already using
that method for my Mako templates. I have used a few letters with
Umlauts though in my controllers, strange thing is, I have never had
this error before.

On Jun 21, 3:40 pm, "Matt Feifarek" <[EMAIL PROTECTED]> wrote:
> On 6/21/07, voltron <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > This error shows up in the comandline when I start up the paster
> > server under windows
>
> > Starting server in PID 2592.
> > serving on 0.0.0.0:5000 view athttp://127.0.0.1:5000
> > C:\Python24\lib\site-packages\pylons-0.9.5-py2.4.egg\pylons\wsgiapp.py:
> > 155: Depr
> > ecationWarning: Non-ASCII character '\xdc' in file D:\Projects
> > \Pylons_projects\testapp\testapp\controllers\main.py on line 63, but
> > no encoding declared; see
> >http://www.python.org/peps/pep-0263.htmlfor details
> >   __import__(full_module_name)
>
> > Could someone tell me how to avoid this problem?
>
> If you follow the python.org link in the error, the article there will show
> you how to place a special comment at the top of your source code that
> declares the encoding for your source file.
>
> What's probably happening is that you have a unicode character in there
> (often happens if you cut-n-paste from a word processor or some such).


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to