diff --git a/tests/testthat/test-io.R b/tests/testthat/test-io.R index 6195fd52d..0ad9a9a51 100644 --- a/tests/testthat/test-io.R +++ b/tests/testthat/test-io.R @@ -9,7 +9,7 @@ test_that("non-ASCII characters are handled properly for file styling", { skip_if(.Platform$OS.type != "windows") withr::with_locale( - c(LC_CTYPE = "English_United States.1252"), + c("LC_CTYPE" = "English_United States.932"), { tmp <- tempfile(fileext = ".R") con <- file(tmp, encoding = "UTF-8")