Python/ASP local characters and 500 server error
Martin
msj at infoserv.dk
Wed Nov 16 05:18:15 EST 2005
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: <charcode> -*-
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 solution is to move ALL code from the .asp page to a .py file and
import it on the .asp page.
But there must be another solution?
/Martin
More information about the Python-list
mailing list