[issue2052] Lack of difflib.HtmlDiff unicode support

2008-02-08 Thread josephoenix
New submission from josephoenix: When passed unicode strings, difflib.HtmlDiff.make_file and make_table fail with a UnicodeEncodeError. Also, the html outputted by make_file seems to be hardcoded to use charset=ISO-8859-1 (line 1584 of difflib.py) -- components: Library (Lib) messages

[issue2052] Lack of difflib.HtmlDiff unicode support

2008-02-08 Thread josephoenix
josephoenix added the comment: After installing 2.5.1, the UnicodeEncodeError is gone, but the charset is still hardcoded in difflib._file_template. So, I guess this is still a separate bug. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue2052] Lack of difflib.HtmlDiff unicode support

2008-02-08 Thread josephoenix
josephoenix added the comment: Oops, please close this. Apparently was fixed in 2.5.1, and I'm just behind. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python