Re: Python/ASP local characters and 500 server error

2005-11-16 Thread Martin
Fredrik Lundh wrote: > > http://www.python.org/peps/pep-0263.html > Using the info from pep-0263, adding a line in the start for the file: # -*- coding: -*- works for .py files, but the error i get is from an .asp file. The logfile contains this info: ASP_0147|500_Server_Error 500 A so

Re: Python/ASP local characters and 500 server error

2005-11-16 Thread Fredrik Lundh
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 th

Python/ASP local characters and 500 server error

2005-11-15 Thread Martin
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? /Martin -- http://mail.python.org/mail