FileInfo detects encoding from strings and files using the wonderful Unix `file` command.
Rafaël Blais Masson
MIT