[New-bugs-announce] [issue2052] Lack of difflib.HtmlDiff unicode support

josephoenix report at bugs.python.org
Fri Feb 8 22:21:54 CET 2008

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: 62208
nosy: josephoenix
severity: normal
status: open
title: Lack of difflib.HtmlDiff unicode support
type: behavior
versions: Python 2.5

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list