I'm preparing slides in R, but Latin characters (ç, ã, é etc ...) become corrupted when the presentation is compiled. I tried both with slidify and with Rpre, same problem. Does anyone know how to solve it?
Editing: If it is within the same section, In R studio, click:
file > "save with encoding" > UTF8
This solves problems when viewing. But a new problem arises:
After saving, when I restart a new section of RStudio and reopen the file the source code appears all 'corrupted' (eg: "attention" turns: "attention"). However the compiled version remains correct ("attention" appears).
I tried again to save with encoding, to continue editing the text, but then it corrops the visibility (compiled version) of the previous text.
Does anyone have a clue how to solve this?
System: Windows 8.1 64bits, R version 3.1.1, RStudio 0.98.1017