On 6/21/07, voltron <nhytro-gM/Ye1E23mwN+BqQ9...@public.gmane.org> 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 at http://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.html for 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).