How can I detect non UTF-8 encoding in RStudio
rstudio
Solution
I realized, the answer is really simple: Just go to Edit => Find (Strg + F) and search for `[^\x00-\x7F]` + with enabled `Regex` field in the search bar.
Problem
I have a script like ``` a <- 1 # A very long comment, perhaps copy paste from somewhere containing the word fit. ``` and I want to search for non UTF-8 encoding. How can I do this in RStudio?