[Trac-tickets] [The Trac Project] #2363: Broken non-latin diff
highlighting
The Trac Project
noreply at edgewall.com
Wed Nov 16 03:58:35 CST 2005
#2363: Broken non-latin diff highlighting
----------------------------+-----------------------------------------------
Reporter: vyt at vzljot.ru | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: changeset view | Version: 0.9
Severity: major | Keywords: |
----------------------------+-----------------------------------------------
In changeset view diff produced unreadable symbols somewhere. It caused by
<del>/<ins> tags, inserted inside symbol. For example Russian symbols
coded in UTF-8 in two bytes, and <del> inserted after first byte of symbol
and before second byte.
Python string functions like len() and range() (used in hdf_diff()) works
with Unicode correct, but not with utf-8.
Attached patch (against trac-0.9 release) changed string representation in
hdf_diff() to Unicode and works for me :)
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2363>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list