The file sizes can be different in this case although a text file with name X contains in both folders the same characters which are just encoded different. The compared text files use different character encodings like the folder on left side contains the text files with UTF-8 encoding and the folder on right side contains the text files with ANSI encoding.What could be the reasons for different file sizes or different file contents despite same file size to treat such files nevertheless as equal? The goal of the usage of a smart folder comparison is to find out which files with different file size or different file contents despite same file size are really different in meaning of the text inside the text files. The smart folder comparison is most often used by programmers, but can be useful also for other users depending on text file contents. The presence of null bytes in a file is most often used to identify a file as binary file.Ī smart folder comparison is usually used on comparing folders with text files where the user knows that the text files have different file sizes or different file contents despite same file size which do not matter for the user respectively a compiler or a script interpreter or whatever program processes these text files. All other files are binary files which contain usually multiple null bytes. So I will try to clarify.Ī text file is either a Unicode encoded text file using UTF-16 or UTF-32 encoding which contain null bytes due to the encoding or files containing just bytes with a decimal value ≥ 32 (normal space) plus some bytes with a decimal value < 32 which represent control characters used in text files like 9 (horizontal tab), 10 (line-feed), 11 (vertical tab), 12 (form-feed, page break), 13 (carriage return) which includes ANSI, OEM, UTF-7, UTF-8 and ASCII Escaped Unicode encoded text files. You are right that the description is not very clear regarding to comparison of binary files in the compared folder(s) on using a smart folder comparison. UC help wrote:If this option is selected a Folder Compare will include a text compare of all files included in compared folders and will also obey ignore options configured for text compares.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |