How can determine the character encoding of plain text files (such as html) on Mac OS X?


file -I {filename} worked from the link Ayaz provided. Apparently though, there is no definite way to determine the encoding.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.