Skip to content

Commit

Permalink
Merge pull request swirldev#229 from swirldev/w1252
Browse files Browse the repository at this point in the history
Force UTF-8 encoding of message in swirl_out to solve WINDOWS-1252 "umlaut" problem.
  • Loading branch information
ncarchedi committed Nov 20, 2014
2 parents ee14f20 + 0c007d4 commit e1370b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ swirl_out <- function(..., skip_before=TRUE, skip_after=FALSE) {
mes <- str_c("| ", wrapped, collapse = "\n")
if(skip_before) mes <- paste0("\n", mes)
if(skip_after) mes <- paste0(mes, "\n")
Encoding(mes) <- "UTF-8"
message(mes)
}

Expand Down

0 comments on commit e1370b8

Please sign in to comment.