Page 1 of 3

Ignore case not always working

Posted: Wed Sep 22, 2010 8:33 pm
by JPG
Hi Igor, this is a strange situation. I find that ignore case is not working in this example.
Can you confirm an issue?
Did you ever fix this so that it worked with Greek, in the same situation. That was another case where compare it! did not work.

Jon



first line of file 1
And the men of the place asked him of his wife. And he said, She is my sister. For he feared to say, My wife. Lest, said he, the men of the place should kill me for Rebekah. Because she was fair to look upon.

first line of file 2
and the men of the place asked him of his wife; and he said, She is my sister: for he feared to say, My wife; lest, said he, the men of the place should kill me for Rebekah; because she was fair to look upon.

Re: Ignore case not always working

Posted: Thu Sep 23, 2010 7:58 pm
by TonHu
The period and the semicolon after 'Rebekah' and 'wife' also don't match... and neither do the period and colon after 'sister' AFAICS you should not be able to skip that with a case-insensitive compare.

Re: Ignore case not always working

Posted: Fri Sep 24, 2010 6:42 am
by grigsoft
That's true, but anyway I could do not to highlight changed case in such cases.

Re: Ignore case not always working

Posted: Fri Sep 24, 2010 8:03 am
by JPG
Hi, Igor,
All I want to do is to ignore the case of the a-z letters, the commas, full stop, colon, semi-colon are not relevant to what I am saying. When I choose the option to ignore case, it should work in any place yes? I tried the same in Wincompare and it got the correct markup. Notice that Compare it! gets the second line correct, and so is not marked.

You help in fixing this would be appreciated.
Jon

cASE.jpg
cASE.jpg (88.52 KiB) Viewed 30683 times



[attachment=0]windiff.jpg[/attachment

Re: Ignore case not always working

Posted: Sun Sep 26, 2010 1:08 pm
by grigsoft
OK, can you please check this version - http://www.grigsoft.com/wincmp4bu.zip ?

Thank you!

Re: Ignore case not always working

Posted: Sun Sep 26, 2010 1:14 pm
by JPG
grigsoft wrote:OK, can you please check this version - http://www.grigsoft.com/wincmp4bu.zip ?

Thank you!
Did you get it to work correctly on the example I gave?
If so what were your settings?


Thanks

jon

Re: Ignore case not always working

Posted: Sun Sep 26, 2010 1:24 pm
by JPG
Hi again Igor, First to say that the version at the link is an old one surely,? 4.2.2188

It just seems to be an issue when there is punctuation somewhere in the line.


file #1
just this simple example will fail if you put a full stop at the end



file #2
Just This Simple Example Will Fail If You Put a full stop at the end.

Re: Ignore case not always working

Posted: Mon Sep 27, 2010 7:01 am
by grigsoft
Are you sure? I have just downloaded it - it should be 2191, and it should handle ignore case problem in line highlighting.

Re: Ignore case not always working

Posted: Mon Sep 27, 2010 7:39 am
by JPG
I am fixed now thanks for the work you did.

Jon

Re: Ignore case not always working

Posted: Mon Sep 27, 2010 7:50 am
by JPG
I have had this experience before, when using Firefox. I seems to keep copies of downloaded files cached. I got the file using ie9 and it has the correct date. I don't know what to say, I am using Chrome at the moment, but I suppose it is based on the same code.

That did the trick. I cleared the cache in Chrome and now it gets the file ok. Clearly it does not see any difference with the file you have on offer.


Just tried the latest download 2191 and it works perfectly now. I just have to try it on some Greek files, as this was my original issue a while back.
So Greek and ignore case does not work and I suspect it is not possible?

Another suggestion for the betas, would it be better to give a folder location and include the build number in the file name, and perhaps a changelog.txt so we all know what has happened and to which build.?

Re: Ignore case not always working

Posted: Tue Sep 28, 2010 7:28 pm
by grigsoft
Can you get updated file from same link again? Now it should be 2183 and be better with Greek too. But, alas, after first try it didn't work for every character from your earlier samples. I will try to check why.

Re: Ignore case not always working

Posted: Tue Sep 28, 2010 7:45 pm
by JPG
grigsoft wrote:Can you get updated file from same link again? Now it should be 2183 and be better with Greek too. But, alas, after first try it didn't work for every character from your earlier samples. I will try to check why.
Hi Igor, thanks for the update, it worked ok for me on the one line sample of Greek. I will have to give some time looking at large files, maybe tonight/tomorrow.
BOOK<Q> ΒΙΒΛΟΣ<q><WG976><WTN-NSF> OF GENEALOGY<Q> ΓΕΝΕΣΕΩΣ<q><WG1078>
BOOK<Q> βιβλος<q><WG976><WTN-NSF> OF GENEALOGY<Q> γενεσεως<q><WG1078>

I am not sure if it will work with polytonic Greek, but will see.

Many thanks for this fix so far.

Jon

p.s you mean 2193

Re: Ignore case not always working

Posted: Tue Sep 28, 2010 8:19 pm
by JPG
Hi Igor, the only issue I see is that there would need to be an option to ignore diacritics/accents
See these two samples, the case is ignored correctly for the first letter of line one, but the first letter of line two is marked as different due to the character having an accent.

βίβλος γενέσεως Ιησού Χριστού υιού Δαβίδ υιού Αβραάμ
Αβραάμ εγέννησε τον Ισαάκ Ισαάκ δε εγέννησε τον Ιακώβ Ιακώβ δε εγέννησε τον Ιούδαν και τους αδελφούς αυτού

Βίβλος γενέσεως Ἰησοῦ Χριστοῦ υἱοῦ Δαυὶδ υἱοῦ Ἀβραάμ.
Ἀβραὰμ ἐγέννησεν τὸν Ἰσαάκ, Ἰσαὰκ δὲ ἐγέννησεν τὸν Ἰακώβ, Ἰακὼβ δὲ ἐγέννησεν τὸν Ἰούδαν καὶ τοὺς ἀδελφοὺς αὐτοῦ,

Re: Ignore case not always working

Posted: Fri Oct 08, 2010 9:24 pm
by JPG
JPG wrote:Hi Igor, the only issue I see is that there would need to be an option to ignore diacritics/accents
See these two samples, the case is ignored correctly for the first letter of line one, but the first letter of line two is marked as different due to the character having an accent.

βίβλος γενέσεως Ιησού Χριστού υιού Δαβίδ υιού Αβραάμ
Αβραάμ εγέννησε τον Ισαάκ Ισαάκ δε εγέννησε τον Ιακώβ Ιακώβ δε εγέννησε τον Ιούδαν και τους αδελφούς αυτού

Βίβλος γενέσεως Ἰησοῦ Χριστοῦ υἱοῦ Δαυὶδ υἱοῦ Ἀβραάμ.
Ἀβραὰμ ἐγέννησεν τὸν Ἰσαάκ, Ἰσαὰκ δὲ ἐγέννησεν τὸν Ἰακώβ, Ἰακὼβ δὲ ἐγέννησεν τὸν Ἰούδαν καὶ τοὺς ἀδελφοὺς αὐτοῦ,
Hi Igor, is this possible to add the option to ignore diacritics/accents. Or is it not possible?

Jon

Re: Ignore case not always working

Posted: Sun Oct 10, 2010 12:02 pm
by grigsoft
Hello, Sorry for delay!
I'm searching now for the possible solution. It turns to be not an trivial task to correctly remove accents for common language. But I will try to give you some results shortly.