submits: We\xe2\x80\x99re pretty sur
this is how it is stored in postgres
please help me out
thanks


----- Original Message ----
From: anil maran <[EMAIL PROTECTED]>
To: tutor@python.org
Sent: Wednesday, September 13, 2006 12:14:10 AM
Subject: encoding text in html


i was trying to display some text
it is in utf-8 in postgres and when it is displayed in firefox and ie, it gets displayed as some symols with 4numbers in a box or so
even for ' apostrophe
please tell me how to display this properly
i try
title.__str__

or title.__repr__
both dont work

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to