In Reports, special characters are displayed correctly.
But when I export a Report to a CSV file, special characters are not displayed
Ex.: Hélène (in the report) becomes Hélène in the CSV file.
Is there any solution ?
(Currently in 4.7.12)
CiviCRM Stack Exchange is a question and answer site for administrators and users of the CiviCRM Constituent Relationship Management software. It only takes a minute to sign up.
Sign up to join this communityIn Reports, special characters are displayed correctly.
But when I export a Report to a CSV file, special characters are not displayed
Ex.: Hélène (in the report) becomes Hélène in the CSV file.
Is there any solution ?
(Currently in 4.7.12)
As @Chris Burgess said it depends on the software you're using the CSV with, but i'll leave a preemptive workaround for MS Excel since we do this pretty often.
This happens with Excel because CiviCRM exports the data in UTF-8 encoding and Excel tries to open it using ANSI by default. If you download your CSV, open and new workbook, and import your data into it as follows, the characters will display correctly:
Import the data using Data-->Import External Data--> Import Data (may vary slightly depending on your version of excel, can be Data-->Get External Data-->From Text button)
Select the file type of "csv" and browse to your file
A bit of an annoying workaround but I hope this is helpful!
I have struggled with the same problem, but Excel on a Mac does not offer precisely that option (65001 UTF) for import. It does offer a UTF-8 import option but that does not work--it just changes the non-ASCII characters to other characters but not the correct ones. I have not found an import option on the Mac that takes in the CiviCRM csv files correctly.
My solution was to get a copy of LibreOffice and that takes in the CiviCRM-produced csv files without a hitch. From LO I can save an xls file that Excel does read correctly.