Skip to content

Commit a5df320

Browse files
committed
Change default of "encoding" to "unknown"
1 parent dae5c73 commit a5df320

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

R/readEuCodedFile.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#'
77
#' @param input.file full path to text file containing CCTV inspection results
88
#' in the format described in DIN EN 13508-2
9-
#' @param encoding default: "latin1", passed to \code{\link{readLines}}, see
9+
#' @param encoding default: "unknown", passed to \code{\link{readLines}}, see
1010
#' there.
1111
#' @param file.encoding Encoding to be assumed for the \code{input.file}.
1212
#' The default is \code{NULL} in which case the name of the encoding is read
@@ -34,7 +34,7 @@
3434
#'
3535
readEuCodedFile <- function(
3636
input.file,
37-
encoding = "latin1",
37+
encoding = "unknown",
3838
file.encoding = NULL,
3939
read.inspections = TRUE,
4040
name.convention = c("norm", "camel", "snake")[1L],

man/readEuCodedFile.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)