[sword-devel] In Windows command shell, diatheke search is restricted to ASCII for the query key!
Matěj Cepl
mcepl at cepl.eu
Thu Mar 2 12:58:55 MST 2017
On 2017-03-02, 16:14 GMT, David Haslam wrote:
> S:\>xiphos\diatheke -b KJV -s regex -k Æneas
> Verses containing "ãneas"-- none (KJV)
>
> It changes the non-ASCII characters to something else entirely!
>
> Such a diatheke command works OK in Linux, or so I'm told.
That’s the crazy state of dual encoding in the Windows world. In
the old days for example the Eastern European Latin languages
were encoded in CP852 (former MS-DOS encoding) in the DOS
window, whereas all GUI applications run in CP1250. I guess at
least something in GUI is Unicode (perhaps UTF-32, IIRC), but
I am afraid that made mess even worse.
In Linux (and Mac OS) world fortunately sanity prevailed and
everything is in one encoding, these days almost always UTF-8.
Best,
Matěj
--
https://matej.ceplovi.cz/blog/, Jabber: mcepl at ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
Less is more or less more.
-- Y_Plentyn on #LinuxGER
(from fortunes -- I cannot resist :-)
More information about the sword-devel
mailing list