Closed githubyouser closed 1 year ago
Hi @githubyouser thanks for reaching out!
I have not seen that error before, so my hunch is that it's got something to do with the way Windows handles encoding. I may be wrong tho. Since unfortunately we don't officially support Windows, one option would be to use WSL to have a Linux distro on your Windows machine. Then it'd be a matter of cloning the repo, installing the requirements with pip and executing the scripts.
Let me know if that could work for you. If for some reason this is not an option, I can dig a little bit to see if I can help more!
Thanks!
Well that was easy enough. :) Thanks, @normansimonr! Once I got WSL all set up and cloned the repo it ran first time without a hitch!! Now to figure out how to convert some of the other files... In particular I'm interested in https://github.com/byztxt/greektext-scrivener I'll have a go at it, and see how far I can get before I need more help.
@githubyouser Brilliant! Glad to hear that! Something worth mentioning tho is that the Unicode converter works only for the Robinson & Pierpont text. We haven't tested the code with he textus recepta from the other repos, so it's likely that it won't work.
@githubyouser Thank you so much for your interest. I am so glad you want to use these texts. For converting these, please have a look at byztxt/librobinson. There should be some code in there to get you started. It is, however, almost 20 years old, and may still be Python 2. If you could help rewriting it, or making it work with Python 3, that would be great. There is a Unicode converter in there which should work for the codes used in the Scrivener text. Many thanks.
Thanks, @normansimonr and @emg. I was looking at librobinson
, but my knowledge of Python is very limited, and I'm not even quite sure where to start at converting some of the other texts to Unicode. I'll have to take a look at it when I have some more time.
Hi, I'm trying my hand at converting the
.CCT
files to Unicode CSV. (I'm actually wanting to convert some of the other files, like Stephanus's TR to Unicode, but I figured I'd learn the ropes with something easier. :)I finally got all the requirements to install properly, and now I'm trying to run the script. But now I get the following error: (I'm using Python 3.11 on Windows 11)
I know from experience that the error probably has something to with utf-8 charset, but I'm not even sure where to start looking for the problem. Python and programming are new to me. If anyone has any tips for me, I'd greatly appreciate it! Thanks!