6

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?

Christoph
  • 6,529
  • 3
  • 38
  • 79

1 Answers1

8

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.

Christoph
  • 6,529
  • 3
  • 38
  • 79