[Tutor] Problems with encodings

Max Noel maxnoel_fr at yahoo.fr
Mon Apr 18 18:17:20 CEST 2005

On Apr 18, 2005, at 16:55, Olli Rajala wrote:

> Michael,
>> does it help if you change the second line into:
>> # -*- coding: iso-8859-15 -*-
>> ?
>> I *think* that is the correct syntax (at least it works for me).
> Thanks, it doesn't give the error message anymore. But non-ascii
> letters still don't go well from my script to browser. They work well
> in console, but not when I'm viewing it through FF 1.0.2 (or Konqueror
> if that matters, probably not). I'm using Apache2, Python 2.4 and my
> system is Ubuntu 5.04. Everything is from Ubuntus package repository,
> apt-get is good. :)

	Do you also specify the encoding in the HTML your code generates?

-- Max
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting 
and sweating as you run through my corridors... How can you challenge a 
perfect, immortal machine?"

More information about the Tutor mailing list