4
I have had a highly boring situation and the previous tutorials did not help. I recently switched computers, and now the R Markdown accents just got lost. Use windows 10 and the image file below is the syntax of R Markdown.
exploratória
turned explorat?ria
possível
turned poss?vel
porção
turned por??o
Earlier times, I had been able to reverse this by typing in the Console
Sys.setenv(LANGUAGE="en")
Save with encoding does not work.
> sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.2 tools_3.5.2 yaml_2.2.0
Try "Re-open with the enconding" instead of "save with encoding". And only after it worked, "save with encoding". But detail, if your file has already been saved once without being opened correctly, it is not a guarantee that it works. If this works, I’ll come up with a better answer, now I can’t. I’m waiting for feedback
– Guilherme Parreira
Thank you, @Guilhermeparreira. The re-open unfortunately did not work to reverse the encoding.
– Luis
Vixe, unless the file has been corrupted. Which was the operating system of your old computer?
– Guilherme Parreira
Hi, @Guilhermeparreira. Both was windows 10. I’m here trying to solve too and if I can, I give the feedback. Thank you very much!
– Luis
For nothing!! Make the file available here, or part of it at least, if possible
– Guilherme Parreira
Have you ever tried to change "Re-open with the enconding" to ISO-8859 and then "Re-open with the enconding" to "utf-8" again? It worked for me.
– DATAUNIRIO