Learn R Programming

jiebaR (version 0.11.1)

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

Arguments

file

A file path.

Author

Wu Yongwei, Qin wenfeng

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