You are here: PSPad forum > English discussion forum > Wrong compare result

Wrong compare result

#1 Wrong compare result

Posted by: Timon34 | Date: 2014-07-07 05:18 | IP: IP Logged

Try to compare 2 files

1.txt with text in it:
# 12345
and
2.txt with text in it:
# 12345
(the only differ - quantity of spaces)

PSPad 4.5.8 (2485) thinks that files have no differences at all! But it is not so.

Options: Reply | Quote | Up ^


#2 Re: Wrong compare result

Posted by: Timon34 | Date: 2014-07-07 05:33 | IP: IP Logged

(in 1.txt after # there is only one space)
and
(in 2.txt after # there are two spaces)

(the only differ - quantity of spaces)

Sorry, but forum cuts extra spaces!

Options: Reply | Quote | Up ^


#3 Re: Wrong compare result

Posted by: pspad | Date: 2014-07-07 05:49 | IP: IP Logged

in the program settings you can set if diff tool ignore spaces e. t. c. this option is on as default

Options: Reply | Quote | Up ^


#4 Re: Wrong compare result

Posted by: Timon34 | Date: 2014-07-07 07:30 | IP: IP Logged

Thanks a lot! I found that setting. But I think that "Ignore Char Case" and "Ignore Blank Space" must be switched off by default.

Options: Reply | Quote | Up ^


#5 Re: Wrong compare result

Posted by: pspad | Date: 2014-07-07 18:00 | IP: IP Logged

Each user has own opinion. Default settings comes from the common ussage of most users

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR