From c2db04fe37a86da3e7d6c2c239d379223cf502bd Mon Sep 17 00:00:00 2001 From: "louis.heraut" <louis.heraut@inrae.fr> Date: Mon, 22 Nov 2021 11:52:30 +0100 Subject: [PATCH] Minor change for encoding --- processing/extractBH.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/extractBH.R b/processing/extractBH.R index d09ad6f..9dfb800 100644 --- a/processing/extractBH.R +++ b/processing/extractBH.R @@ -168,7 +168,7 @@ extractBH_meta = function (computer_data_path, filedir, filename, verbose=TRUE) if (file.exists(file_path) & substr(file_path, nchar(file_path), nchar(file_path)) != '/') { # Extract all the header - metatxt = c(readLines(file_path, n=41)) + metatxt = c(readLines(file_path, n=41, encoding="latin1")) # Create a tibble with all the metadata needed df_meta = -- GitLab