How do I detect/guess the encoding used in a text file?

2023-02-22 Thread sgmoore
I am processing some small text files which come from a number of sources and most of them do not have any indication of the encoding used. NotePad in Windows is able to guess the encoding and display the files correctly. How do I do the same in Nim? For example, looking at some of the files i

Are rst's files supposed to be readable?

2022-05-25 Thread sgmoore
I'm don't really know much about rst files, I am not really sure if this is an issue or not . Situation Was searching for on github's website for a error message and came across a reference in which I opened and started to read. It l

Handling customisations when upgrading Nim

2020-10-17 Thread sgmoore
Thanks. I'll try that.

Handling customisations when upgrading Nim

2020-10-17 Thread sgmoore
Just upgraded to Nim 1.4.0 using choosenim and it was fairly painless, but I was wondering what the best way of handling customisations, for example changes to nim.cfg and any changes to nim files in the lib folder. Obviously I can keep a note of my changes and re-apply them after upgrading, bu