Commit 85f7cff8 authored by bob's avatar bob
Browse files

Delete enconding specs when reading file

Do not restrict input to UTF-8 format.
parent 143a967a
......@@ -145,7 +145,7 @@ read_data_sheet <- function(file, sheet) {
# The first line is skipped. Otherwise the special place holder '$'
# separating variable name and unit might get coerced to a '.'
switch(file$extension,
"csv" = read.csv(file$path, header = FALSE, fileEncoding = "UTF-8-BOM"),
"csv" = read.csv(file$path, header = FALSE),
"xlsx" = read.xlsx(file$path, sheet = sheet, colNames = FALSE)
)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment