Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
1  
There is a similar thread on Stack Overflow: stackoverflow.com/questions/539294/… –  ayaz Jun 13 '10 at 8:07
    
possible duplicate of Converting the encoding of a text file (Mac OS X) –  Sathya Jun 13 '10 at 9:19

1 Answer 1

up vote 11 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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