Re: [sword-devel] python3 , StrongsGreek and unicodeDecodeError

2019-06-20 Thread Matěj Cepl
On 2019-06-16, 19:02 GMT, pierre amadio wrote: > Playing with the python3 Sword module I hit a problem that > I did not have with python2 when dealing with Strongs > definition such as G1140 (daimonion). It looks like the 'æ' > character is causing problem. > > This example works with python2, b

Re: [sword-devel] python3 , StrongsGreek and unicodeDecodeError

2019-06-16 Thread pierre amadio
Hello ! Ohh, i was not aware of the Xiphos "RealGreek" and "RealHebrew" modules. I do not have a problem with my test case with the greek one. Looks like i will use those module from now on. Thanks ! On Sun, 16 Jun 2019 at 21:27, David Haslam wrote: > > Does this issue also affect dictionary m

Re: [sword-devel] python3 , StrongsGreek and unicodeDecodeError

2019-06-16 Thread David Haslam
Does this issue also affect dictionary module StrongsRealGreek in the Xiphos repo? Or was that encoded correctly as UTF-8 ? David Sent from ProtonMail Mobile On Sun, Jun 16, 2019 at 20:14, Troy A. Griffitts wrote: > Hi Pierre, > > I had similar problems with our Java bindings. Java was unfo

Re: [sword-devel] python3 , StrongsGreek and unicodeDecodeError

2019-06-16 Thread Troy A. Griffitts
Hi Pierre, I had similar problems with our Java bindings.  Java was unforgiving with invalid UTF-8 characters, as well.  Ultimately we should fix any invalid UTF-8 characters in our modules and encode them correctly, but my solution was, in the bindings code, to call: assureValidUTF8() before re