Opened 4 years ago

Closed 4 years ago

#2734 closed defect (invalid)

The CSV export on descriptor report has problems with special characters

Reported by: Mark J. Millard Owned by: Kay Kittell
Priority: minor Milestone:
Component: Public Website 2 Version: N/A
Severity: Keywords: CSV export; descriptor report export, extended characters
Cc: Database Engine: N/A
Operating System: N/A

Description

I'm seeing on an export of special characters in the Origin field where we have accents a conversion problem with the csv file. The accent in San Jose´, Uruguay is being converted to San José, Uruguay in the CSV file. The Excel export is ok. I see the problem both on npgsDEV Version: 2.3.3 02/08 and npgsWEB Version: 2.3.2.1. I'm on Windows 11 using Edge.

Descriptor query:

Crop: MAIZE
Available accessions
All conditions
Aleurone Color Equal to 52=BLUE / MOTTLED
Cob Color Equal to 1=WHITE
Endosperm Color Equal to 5=ORANGE

Change History (1)

comment:1 by Kay Kittell, 4 years ago

Resolution: → invalid
Status: new → closed

It's because the CSV is opening in Excel. In order to get the special characters to show correctly in Excel follow the steps below:

  1. Open an empty workbook.
  2. Click on "data" in the menu at the top.
  3. Click on the "Get Data" down arrow which shows a dropdown.
  4. Select "From File" which shows another dropdown.
  5. Click "From Text/CSV"
  6. Navigate to your downloaded/saved CSV.
  7. At the top if "File Origin." Ensure that it is UTF-8.
  8. Click "Load" at the bottom.
Note: See TracTickets for help on using tickets.