Test file encoding

Looking to figure out how I can test the encoding of a text file without using BOM (since I’m working largely with UTF8 files that have no BOM). In an ideal world there would be a cmdlet that I could just pass a file to and it’d tell me the encoding, but I’d settle for something that just tells me if its UTF8 or not.

submitted by /u/FluidThanks
[link] [comments]

Leave a Reply