How can I determine the character encoding of plain text files (such as HTML) on Mac OS X?
Asked
Active
Viewed 3.3k times
15
-
1There is a similar thread on Stack Overflow: http://stackoverflow.com/questions/539294/how-do-i-determine-file-encoding-in-osx – ayaz Jun 13 '10 at 08:07
-
possible duplicate of Converting the encoding of a text file (Mac OS X) – Sathyajith Bhat Jun 13 '10 at 09:19
1 Answers
25
file -I {filename} worked from the link Ayaz provided. Apparently though, there is no definite way to determine the encoding.