Re: [Tutor] Problems with encodings

2005-04-18 Thread Olli Rajala
Max wrote: > Do you also specify the encoding in the HTML your code generates? Yeah, of course. :) But I was able to find out the problem. I just had to tell Apache2 I'm using ISO-8859-15 as a default encoding. So, it seems that everything's working well now. Thanks for asking, though. Yo

Re: [Tutor] Problems with encodings

2005-04-18 Thread Max Noel
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

Re: [Tutor] Problems with encodings

2005-04-18 Thread Olli Rajala
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

Re: [Tutor] Problems with encodings

2005-04-18 Thread Michael Lange
On Mon, 18 Apr 2005 09:22:28 +0300 Olli Rajala <[EMAIL PROTECTED]> wrote: > Hi! > Been offlist for a while, but now I started to code an administration > tool for my own photo gallery and have some troubles, so thought to > write and ask some help. :) > > So, I'm from Finland and I'm using ISO-88

[Tutor] Problems with encodings

2005-04-17 Thread Olli Rajala
Hi! Been offlist for a while, but now I started to code an administration tool for my own photo gallery and have some troubles, so thought to write and ask some help. :) So, I'm from Finland and I'm using ISO-8859-15 -encoding but Python don't "understand" letters outside ASCII. I've read PEP-0263