getFileEncoding: Check file encoding

View source: R/fileRead.R

getFileEncodingR Documentation

Check file encoding

Description

Checks to see the encoding of the input file.

Usage

getFileEncoding(filePath)

Arguments

filePath

The file that needs to be checked, relative to your working directory

Value

The file encoding for the input file

Two example UTF-16LE file can be found in inst/tests/data/:

UTF-16LE-test.txt

UTF-16LE-test2.txt


mcneilco/racas documentation built on April 19, 2024, 1:12 p.m.