[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: view the word files occur some errors

From: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Tue, 2 Jul 2013 08:42:53 +0200

Guten Tag Robert Heller,
am Dienstag, 2. Juli 2013 um 05:56 schrieben Sie:

> Microsoft Word files are *binary* files. Older .doc files are Microsofts
> propriatory format and .docx files are .zip archives containing .xml and other
> things. You can't do a diff on these files. svn diff only makes sense on
> *plain text files*, like C/C++ source code.

Of course those files can be diffed because what a diff is and how it
is implemented simply depends on what to diff and one way to diff
binary files is to let the applications which understand those binary
files produce some kind of differences. This is exactly what Word,
LibreOffice etc. are capable of and TortoiseSVN uses those features
with some wrapper scripts starting those applications and tell them
to diff the files. The diff is then produced by and within the
applications on line and word basis. This works very well, even if svn
itself can't diff those files.

Mit freundlichen Grüßen,

Thorsten Schöning

Thorsten Schöning       E-Mail:Thorsten.Schoening_at_AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Received on 2013-07-02 08:43:34 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.