Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42498
| From | John Gordon <gordon@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Switching from Apche to LiteSpeed |
| Date | 2013-04-01 20:29 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <kjcqnr$g2n$2@reader1.panix.com> (permalink) |
| References | <9a35850a-7fcb-4585-84ae-5e13cef9173a@googlegroups.com> |
In <9a35850a-7fcb-4585-84ae-5e13cef9173a@googlegroups.com> =?ISO-8859-7?B?zd/q7/Igw+rxMzPq?= <nikos.gr33k@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@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Switching from Apche to LiteSpeed Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-01 13:09 -0700
Re: Switching from Apche to LiteSpeed John Gordon <gordon@panix.com> - 2013-04-01 20:29 +0000
Re: Switching from Apche to LiteSpeed nagia.retsina@gmail.com - 2013-04-01 22:10 -0700
Re: Switching from Apche to LiteSpeed Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-02 06:38 +0000
Re: Switching from Apche to LiteSpeed Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-01 21:33 +0100
csiph-web