[sword-devel] In Windows command shell, diatheke search is restricted to ASCII for the query key!
greg.hellings at gmail.com
Thu Mar 2 09:34:45 MST 2017
On Thu, Mar 2, 2017 at 10:29 AM, Karl Kleinpaste <karl at kleinpaste.org>
> On 03/02/2017 11:14 AM, David Haslam wrote:
> Such a diatheke command works OK in Linux, or so I'm told.
> $ diatheke -b KJV -s regex -k Æneas
> Entries containing "Æneas"-- none (KJV)
> $ diatheke -b KJV -s lucene -k Æneas
> Entries containing "Æneas"-- Acts 9:34Acts 9:33 ; -- 2 matches total (KJV)
> $ diatheke -b KJV -s multiword -k Æneas
> Entries containing "Æneas"-- Acts 9:33Acts 9:34 ; -- 2 matches total (KJV)
> Fedora 24.
> The output is buggy, not having put even a space between result elements.
> Interesting, that regex search didn't find a literal string.
Most regex libraries I've encountered have a special mode that needs to be
engaged in order to be UTF-8 aware. I wonder if our library has the same
need (although I thought that the capital ash character was in ASCII, but I
suppose I was wrong).
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sword-devel