Learn R Programming

jiebaR (version 0.11)

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)

Arguments

file

A file path.

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.

References

https://github.com/adah1972/tellenc

See Also

https://github.com/qinwf/checkenc