file_coding: Files encoding detection

View source: R/RcppExports.R

file_codingR 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


jiebaR documentation built on April 4, 2025, 2:41 a.m.