Closed tentacles-from-outer-space closed 1 year ago
When I use documenthPath on path with local characters the output is not marked as UTF8:
documenthPath
rstudioapi::documentPath() # [1] "~/Ä…Ä…Ä…/test.R" Encoding(rstudioapi::documentPath()) # [1] "unknown" `Encoding<-`(rstudioapi::documentPath(), "UTF-8") # [1] "~/ąąą/test.R"
I'm on Windows, local codepage 1250 (Polish_Poland), RStudio default encoding is UTF-8.
When I use
documenthPath
on path with local characters the output is not marked as UTF8:I'm on Windows, local codepage 1250 (Polish_Poland), RStudio default encoding is UTF-8.