[issue6590] Py3K can't set the browser's character encoding! (CGI)

2009-07-28 Thread Hakan
New submission from Hakan physic...@gmail.com: Hi, I'm new to web programming with Python. In Python2k, the special # -*- coding: cp1254 -*- code sets the character encoding. It works in the internet browsers too and sets the browser's character encoding. That was really good. But in Py3k, that

[issue6590] Py3K can't set the browser's character encoding! (CGI)

2009-07-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: This looks more like a general question than a bug report. You should probably ask on comp.lang.python or #pyt...@irc.freenode.net. The # -*- coding: cp1254 -*- only specifies the encoding used to save the source file and it's not related

[issue6590] Py3K can't set the browser's character encoding! (CGI)

2009-07-28 Thread Hakan
Hakan physic...@gmail.com added the comment: Thanks for your reply. I said, I'm new to web programming. Now I add Content-type: text/html; charset=ISO-8859-9... :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6590