We have a package with an accent in the package description (the line Description). We have solved issues with our names before adding the following line to the DESCRIPTION file:
Encoding: UTF-8
But for some odd reason this does not work now that we include an accent in the Description: portion of that file. However it may be an issue is with R Studio.
We see the accent correctly in the Description column of the RStudio "Packages" pane.
When we click on the package name to go the the help viewer, this is where the problem occurs: we see <c3><b3> instead of ó.
Is there something else, other than specifying the encoding that we can try? Could this be an issue in the RStudio IDE?
Is this in the help index page ?
If so, I encountered once this issue with French and my conclusion was that there was something of with R when generating the index file at installation. Lots of base R stuff are using the computer locale setting and the issue was my french computer on windows was not UTF8 but latin1 and the index html file generated with latin1. I did not found a solution for this page yet...
My understanding is that it is typically recommended to use unicode escapes (e.g. \u1234) in place of multibyte characters, to ensure greater compatibility across different locales.
We tried your solution but it didn't work. The unicode is printed not as the character we wanted but as all the characters of the unicode as the image below shows:
We tried already with the UTF-8 encoding as it is suggested in the R packages book but it's also not working for the Description line, but it does for authors.
It looks like this previously worked with older versions of R, but something changed so that specifically the Title field will be converted in this way. I do not know if it is an intentional change or not.