Python/ASP local characters and 500 server error
Fredrik Lundh
fredrik at pythonware.com
Wed Nov 16 03:19:36 EST 2005
Martin wrote:
> Using Python / ASP on a IIS server with Mark Hammond's win32 extensions,
> i have the following problem.
>
> All occurences of local characters (fx. danish æøå) in comments or in
> strings result in a HTTP/1.1 500 Server Error.
>
> Is there a solution to this problem?
the first thing to do when you get a server error is to look in the server logs
to see what the real error is.
in this case, chances are that you'll see a warning message from the Python
interpreter that points to you this page:
http://www.python.org/peps/pep-0263.html
(scroll down to "Examples" to see the solution)
</F>
More information about the Python-list
mailing list