The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed
Moderators: Hacker , petermad , Stefan2 , white
tbeu
Power Member
Posts: 1354 Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:
Post
by *tbeu » 2014-09-26, 22:09 UTC
In the Synchronize Directories dialog I enabled the compare by content plugin and configured [=tc.Compare as text] for Text files. This works well for Ansi encoded files, i.e. EOL style is ignored as expected. But it fails for Unicode encoded files. See Image:
http://tbeu.de/forum/CaT.png . My four test files are
Code: Select all
MIME-Version: 1.0
Content-Type: application/octet-stream; name="TestFiles.rar"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="TestFiles.rar"
UmFyIRoHADvQcwgADQAAAAAAAAC1CXSAkDoAHQAAAAYAAAAC2FRfd1S/OkUdMxUAIAAAAFRlc3RG
aWxlc1xMRlxhbnNpLnR4dADw7pd5CREI/pDf3A0xz1/1qyDPEfcZSO6GV1gZRpEBDYDTnXSQkDwA
BQAAAAkAAAACScT/TU2/OkUdMxcAIAAAAFRlc3RGaWxlc1xDUkxGXGFuc2kudHh0ALDm6Ekvd2Vb
AI4mdJCQOgAGAAAADgAAAAK05ufoZr86RR0zFQAgAAAAVGVzdEZpbGVzXExGXHVuaWMudHh0ALB+
X0DUlg0elWxSWHSQkDwABgAAABQAAAAC9C9W8Gy/OkUdMxcAIAAAAFRlc3RGaWxlc1xDUkxGXHVu
aWMudHh0ALDul3nC/3nXO0BjeHTwkDMAAAAAAAAAAAACAAAAAGy/OkUUMA4AEAAAAFRlc3RGaWxl
c1xDUkxGALDul3n4YnTwkDEAAAAAAAAAAAACAAAAAGa/OkUUMAwAEAAAAFRlc3RGaWxlc1xMRgCw
fl9AL6h08JAuAAAAAAAAAAAAAgAAAAAlvzpFFDAJABAAAABUZXN0RmlsZXMA8JQ1d8Q9ewBABwA=
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
tbeu
Power Member
Posts: 1354 Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:
Post
by *tbeu » 2014-09-29, 10:50 UTC
You then should fix it in doc since "Compare by content" is able of unicode. :
Code: Select all
The internal compare mode [=tc.compare as text] compares two files as plain text like in "Compare by content".
Maybe:
Code: Select all
The internal compare mode [=tc.Compare as text] compares two files as ANSI text.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more