Learn R Programming

educabR (version 0.1.0)

detect_encoding: Detect file encoding

Description

Internal function to detect the encoding of a text file. INEP files typically use Latin-1 or UTF-8.

Usage

detect_encoding(file)

Value

A character string with the encoding name.

Arguments

file

Path to the file.