Switching from Apche to LiteSpeed

John Gordon gordon at panix.com
Mon Apr 1 16:29:47 EDT 2013


In <9a35850a-7fcb-4585-84ae-5e13cef9173a at googlegroups.com> =?ISO-8859-7?B?zd/q7/Igw+rxMzPq?= <nikos.gr33k at gmail.com> writes:

> Just today i changed from HostGator to EZPZ, which means from Apache Web Server to LiteSpeed.

> Does anyone know why iam seeing what iam seeing at http://superhost.gr

> I see weird encoding although inside my python script i have:

> #!/usr/bin/python
> # -*- coding=utf-8 -*

I believe the syntax is to use a colon, not an equal sign.  i.e.:

    # -*- coding: utf-8 -*-

Your example is also missing the final dash after the asterisk.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon at panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list