Overview
Artifact ID: | f2912c95cc6a8ee7884a9f8b6b9a75d35faeb1bb |
---|---|
Ticket: | b6579b1ec167413cb59a0d8b7888f275478fb0c5
Update with a merge fails on unicode files |
User & Date: | anonymous 2010-12-13 21:35:16 |
Changes
- Appended to comment:
<hr /><i>anonymous added on 2010-12-13 21:35:16:</i><br /> If it would be a straight small patch, I'd love to submit a patch, but I think this would be a major rewrite because all string operations which rely on on a single zero byte to terminate a string will fail with UTF-16 characters. I guess that's why break_into_lines returns 0 as soon as it encounters any 0 byte. Obviously diffing two files executes a lot of string operations and to find and change all of them without braking the standard behaviour seems to be a task for a lot of long, long winter evenings. ;-) I'll change my sources which require Unicode support to UTF-8 where possible and live with the risk of not beeing able to merge source where UTF-8 is not an option. Nevertheless, thanks for this great piece of software.