Skip to content

Commit

Permalink
Merge pull request #119 from AlreadyTakenJonas/fixIssue118
Browse files Browse the repository at this point in the history
Fix #118
  • Loading branch information
GegznaV committed Oct 9, 2023
2 parents 38cb059 + 7e2f4f9 commit 344e992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/DEPRECATED-read.spc.R
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ raw.split.nul <- function(raw, trunc = c(TRUE, TRUE), firstonly = FALSE, paste.c
}
log.txt[log.txt == .nul] <- replace.nul
log.txt <- readChar(log.txt, length(log.txt), useBytes = T)
log.txt <- gsub(rawToChar(replace.nul), "\r\n", log.txt)
log.txt <- gsub(rawToChar(replace.nul), "\r\n", log.txt, useBytes=TRUE)
log.txt <- iconv(log.txt, iconv.from, iconv.to)
log.txt <- split.string(log.txt, "\r\n") ## spc file spec says \r\n regardless of OS
log.txt <- split.line(log.txt, "=")
Expand Down

0 comments on commit 344e992

Please sign in to comment.