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

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2052>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/issue2052>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com