I am trying to figure out the file encoding in Windows using Go. After doing some research, I found a lot of recommendations for Mozilla Charset Detectors (chardet), but they are difficult to compile and I was out of luck.
I also found libguess, and it seems to be widely used on Linux, but I can't get it to work on Windows.
What is the best way to do this? Is there an actual standard library for use with Windows?
Allen dang
source share