file_coding {jiebaR}R Documentation

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.

Details

This function will choose the most likely encoding, and it will be more stable for a large input text file.

Value

The encoding of file

Author(s)

Wu Yongwei, Qin wenfeng

References

https://github.com/adah1972/tellenc

See Also

https://github.com/qinwf/checkenc


[Package jiebaR version 0.11 Index]