[mod_python] Params submitted using utf-8

Kevin Ballard kevin at sb.org
Wed Jan 7 11:02:42 EST 2004


To make the browser display as UTF-8, you need to tell it to do that 
either in the headers or in a <meta> tag in the source.

On Jan 6, 2004, at 8:40 PM, jalil at securia.com wrote:

> - The reason I decided doing above is that I have a table in MySQL 
> which is using
> utf-8 character sets. Everything works fine if I put the received data 
> directly into my table and read it back and send it to browser but two 
> problems happen if I do this. First, some characters don't display 
> right. Second, althought I set the charset in my returned data to 
> utf-8, the browser doesn't select utf-8 as encoding. So, I thought 
> maybe I should try to convert into unicode b/f putting the data into 
> my table. Is this right? Should I  do anything b/f storing and/or 
> sending the data?

-- 
Kevin Ballard
kevin at sb.org
http://www.tildesoft.com
http://kevin.sb.org



More information about the Mod_python mailing list