possible bug: non-ASCII characters not displayed properly in the RStudio release 2021.09.02

Hi, I have a problem with encoding non-ASCII characters since the Ghost Orchid release update. All files containing these characters are not displayed properly and I can`t read the files in RStudio. When I list the files in R it encodes them properly. I tried changing global settings to all types of encoding and set.locale to Swedish, but it still does not work. It works with the old RStudio versions so I think this might be a bug with the new version.

this is my session info and what it looks like when I list the files:

sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)

Matrix products: default

locale:
[1] LC_COLLATE=Swedish_Sweden.1252
[2] LC_CTYPE=Swedish_Sweden.1252
[3] LC_MONETARY=Swedish_Sweden.1252
[4] LC_NUMERIC=C
[5] LC_TIME=Swedish_Sweden.1252
system code page: 65001

attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base

loaded via a namespace (and not attached):
[1] compiler_4.1.2 tools_4.1.2

list.files()
[1] "åäö.r" "desktop.ini" "My Music" "My Pictures"
[5] "My Videos" "R"

1 Like

Related post: https://forum.posit.co/t/rstudio-cant-deal-with-file-names-with-unicode-characters/126601/13

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.