diff --git a/tests/testthat/test-io.R b/tests/testthat/test-io.R index 0ad9a9a51..1e7931d53 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.932"), + c("LC_CTYPE" = "English_United States.65001"), { tmp <- tempfile(fileext = ".R") con <- file(tmp, encoding = "UTF-8")