Thanks for your help!. However, the steps in your reply is exactly what I have done: files were saved as UTF-8 as expected.
The problem is that when I open a file, it will be opened using system default encoding, which is CP936. Then, I have to reopen it with UTF-8.
What I want is that rstudio open files with "UTF-8"
Hi, thanks for your help!
I checked again and found that project coding is CP936, which overrides settings in global. Problem solved!