K
K
KOS_MOS2011-09-15 16:41:56
Data Comparison
KOS_MOS, 2011-09-15 16:41:56

What is the difference between binary diff and text diff?

Do I understand correctly that just for a text diff, a list of differences is generated, taking into account multibyte encodings?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
gaelpa, 2011-09-15
@KOS_MOS

A text diff is composed line by line and is intended to be able to merge two diffs together (conflicts in VCS). A binary diff simply conveys differences and is not meant to be merged.
“Accounting for multibyte encodings” - did not understand what you mean? It is needed to correctly determine line breaks in text diffs, and for "ignore whitespace" - that's about it.

K
Konstantin, 2011-09-15
@Norraxx

Look at the table:
upload.wikimedia.org/wikipedia/commons/4/4f/ASCII_Code_Chart.svg
Binary diff = diff with red fields and text only with white fields. :-)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question