appy.shared.diff: bugfix: work internally on unicode representations of strings to diff: this way, we are sure every char is one char length.

This commit is contained in:
Gaetan Delannay 2012-04-13 18:07:48 +02:00
parent 40e8a5f258
commit abdd0ee52d
4 changed files with 19 additions and 7 deletions

View file

@ -16,6 +16,7 @@ mimeTypesExts = {
'application/pdf' : 'pdf',
'image/png' : 'png',
'image/jpeg' : 'jpg',
'image/pjpeg' : 'jpg',
'image/gif' : 'gif'
}
xmlPrologue = '<?xml version="1.0" encoding="utf-8" ?>\n'