Convert the annotate source to UTF8 before parsing.
Mon Sep 19 03:19:14 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Convert the annotate source to UTF8 before parsing.
hunk ./darcsweb.cgi 676
- dom = xml.dom.minidom.parse(src)
+
+ # FIXME: convert the source to UTF8; it _has_ to be a way to let
+ # minidom know the source encoding
+ s = ""
+ for i in src:
+ s += fixu8(i)
+
+ dom = xml.dom.minidom.parseString(s)