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,841
  • 4
  • 37
  • 89

1 Answers1

9

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,841
  • 4
  • 37
  • 89