anil maran wrote: > > > 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
Do you have the page encoding set to utf-8 in Firefox? You can do this with View / Character Encoding as a test. If it displays correctly when you set the encoding then you should include a meta tag in the HTML that sets the charset. Put this in the <head> of the HTML: <meta http-equiv="content-type" content="text/html; charset=utf-8" /> Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor