We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f5a0ca commit 6b4575cCopy full SHA for 6b4575c
R/readEuCodedFile.R
@@ -63,7 +63,12 @@ readEuCodedFile <- function(
63
# Replace "iso-8859-1:1998" with "latin1"
64
# (see https://de.wikipedia.org/wiki/ISO_8859-1:
65
# "ISO 8859-1, genauer ISO/IEC 8859-1, auch bekannt als Latin-1 [...]")
66
- file.encoding <- gsub("^iso-8859-1:1998$", "latin1", file.encoding)
+ file.encoding <- gsub(
67
+ "^iso-8859-1(:1998)?$",
68
+ "latin1",
69
+ file.encoding,
70
+ ignore.case = TRUE
71
+ )
72
}
73
74
if (check.encoding) {
0 commit comments