Learn R Programming

pxmake (version 0.17.0)

guess_file_encoding: Guess encoding of file

Description

Guess encoding of file

Usage

guess_file_encoding(path, prefer = list(`UTF-8` = 0.2, `ISO-8859-1` = 0.2))

Value

Character

Arguments

path

Path to file

prefer

Named list of encodings, used to give higher confidence to specific encodings.