Check character encoding of file
11 March 2022 (Updated 6 November 2022)
file <file>
Example output:
hello: Unicode text, UTF-8 text
Tagged:
Unix
file <file>
Example output:
hello: Unicode text, UTF-8 text