Having trouble displaying html unicode

Hi frank, Again ... great article. I'm running into trouble with my python program not displaying what I want to see in the browser. I have a file with the word 'años' in it. I read the file and display it on the browser using repr() but it comes out in hex as 'a\xf1os'. If I do a straight print it comes out 'a�os'. How do I get it to show as 'años'?

Reply

The content of this field is kept private and will not be shown publicly.