Confusing script - Beginner

Hi, and welcome!

Please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers. This question probably does't require one, though. More information about specific composing and reading applications are needed, though.

What you are seeing is what's called an encoding issue. If your script was composed in an application that uses one choice and you are opening it in RStudio, which has a default of UTF-8, that would explain what you see.