Python/ASP local characters and 500 server error

Fredrik Lundh fredrik at
Wed Nov 16 09:19:36 CET 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:

(scroll down to "Examples" to see the solution)


More information about the Python-list mailing list