-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Special characters read from .xlsx or .csv files not rendered correctly #180
Comments
Hi, If anybody out there is struggling with the same issue: apart from writing a tibble with all entries (which can be very tiring, especially for long entries), a workaround is to write only the entries with special characters in a tibble. For instance:
And then
Where rest_of_the_spreadsheet is an object based on a normal .csv or .xlsx file where you have the data you wanted to use originally. You should delete the entry(s) with special characters from that spreadsheet. This is not an optimal solution but it can save time if you only have a few entries with special characters. Anyway, any chance this might be more generally solved? This is a big drawback for using vitae with .xlsx or .csv in many languages other than English and in Windows - which I guess it is not a very uncommon setting. Most sentences in Spanish have special characters so my sketch above is not very practical if you have a full CV in Spanish. Again, best and thanks for developing the package which is very nice! |
Thanks for the proposed alternative solution. I'm able to reproduce your issue on one of my Windows systems. I believe this is an issue with encoding in your excel file, or how the readxl package is reading it. You may find better help raising an issue with the readxl maintainers. |
Closing as this is not an issue that can/should be fixed in |
I am trying to create an entry with some projects' information based on an Excel file in which I have stored information about these projects. Some projects have a Spanish name and thus use some special characters (like : á). When I knit the document, these are rendered incorrectly.
But the behavior is not the same if instead of reading the files from an excel file I create a tibble in the code itself, using the exact same names.
See code below, and excel file attached.
repex.xlsx
When knitted, projects_tibble works as expected, but projects_excel does not. Seems related to #158 and #167 , but this is not for .bib files but for .xlsx files. I would say the issue is not fixed for these kind of files? I tried but got the same problem using .csv files instead of an .xlsx file. Also converting the projects_excel to a tibble once read did not seem to work either.
The text was updated successfully, but these errors were encountered: