file_coding: Files encoding detection
Description
This function detects the encoding of input files.
You can also check encoding with checkenc package which is on GitHub.
Usage
file_coding(file)filecoding(file)
Value
The encoding of file
Details
This function will choose the most likely encoding, and it will be
more stable for a large input text file.