From: <cl...@us...> - 2003-10-24 10:59:02
|
Update of /cvsroot/todo-manager/todo-manager/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv17377/plugins Modified Files: export_html.py Log Message: Tom Churm also suggested that I add a meta tag to html export so some browsers will correctly display uncommon characters like umlauts. Index: export_html.py =================================================================== RCS file: /cvsroot/todo-manager/todo-manager/plugins/export_html.py,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- export_html.py 24 Oct 2003 00:13:17 -0000 1.8 +++ export_html.py 24 Oct 2003 00:27:52 -0000 1.9 @@ -11,8 +11,8 @@ """Save a task list to an HTML file with most of the formating present from the interface""" # Headers - file.write("<HTML>\n<HEAD>\n</HEAD>\n") - file.write("<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">\n") + file.write("<HTML>\n<HEAD>\n<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=UTF-8\">") + file.write("\n</HEAD>\n<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">\n") file.write("<CENTER><TABLE CELLSPACING=1 CELLPADDING=1 BORDER=0 WIDTH=650>\n") file.write("<TR BGCOLOR=\"#118CFF\"><TD WIDTH=10></TD><TD><U>Task Name</U></TD>"\ "<TD ALIGN=\"CENTER\" WIDTH=70><U>Due Date</U></TD><TD ALIGN=\"RIGHT\" WIDTH=130>"\ |