Most failed imports are decided before CSV Import opens the file, by how the spreadsheet was saved and set out. The two problems that cause the most trouble don't announce themselves. A file saved in an old text encoding imports its first rows, then stops with Import Error at the first accented letter. And the invisible mark that Excel puts at the start of a CSV UTF-8 file leaves your first column unmapped, though its heading looks right.
The library's list of the four Hollis seed catalogs came out of an older cataloging program, as hollis-catalogs-old-encoding.csv. Two of the catalogs have accented letters or curly quotes in them: the Canadian edition, printed in Montréal, and the 1913 annual with its new section, "Seeds by the Pound." In this lesson you import the file as it is, watch it stop at the third row, and clean up after it. Then you import the same list saved as CSV UTF-8, the way Excel saves it, and map the column the invisible mark hides.
The video runs both imports and the clean-up, then goes through the rules a spreadsheet has to follow. This page has the same steps. Two sections at the end, Going further and When things go wrong, stay closed until you open them.
Before you start
- Have the Hollis Brothers Seed Company collection from lesson 1.
- Download hollis-catalogs-old-encoding.csv, saved the way an older program saves, and hollis-catalogs.csv, the same list saved by Excel as CSV UTF-8.
Import the old file as it is
Each row is one catalog, with its cover's web address in the Image URL column:
| Dublin Core:Title | Dublin Core:Identifier | Dublin Core:Coverage | … | Image URL |
|---|---|---|---|---|
| Hollis Brothers Seed Annual, 1905 | HB-CAT-1905 | Springfield, Mass. | … | https://…/hb-cat-1905-01.jpg |
| Hollis Brothers Seed Annual, 1907 | HB-CAT-1907 | Springfield, Mass. | … | https://…/hb-cat-1907-01.jpg |
| Hollis Brothers Seed Annual, Canadian edition, 1911 | HB-CAT-1911-MTL | Montréal (Québec) | … | https://…/hb-cat-1911-mtl-01.jpg |
| Hollis Brothers Seed Annual, 1913 | HB-CAT-1913 | Springfield, Mass. | … | https://…/hb-cat-1913-01.jpg |
- Click CSV Import. Under Upload CSV File, choose hollis-catalogs-old-encoding.csv.
- In Select Item Type, choose Text: catalogs are mostly words. In Select Collection, choose Hollis Brothers Seed Company. Tick Make All Items Public? and click Next.
- On step 2 every column but Image URL is mapped, and the examples look fine: they come from the first row, which has no accented letters. Tick Files? on the Image URL row and click Import CSV File.
- Reload the Status tab until the import finishes. It reads Import Error, with 2 Imported Items.

Omeka Classic stores text in UTF-8, the encoding that covers every language's letters. The old program saved the file in an older encoding, Windows-1252, which writes é and curly quotes as bytes that mean nothing in UTF-8. CSV Import doesn't convert them, and Omeka's database refuses them. So the import stopped at the first row with one: the 1905 and 1907 catalogs were imported, the 1913 one never was, and the Canadian edition was left half made.
Clean up after it
- On the Status tab, click Undo Import beside the import and click OK. When it reads Completed Undo, the two complete catalogs are gone. Click Clear History.
- Click Items. The Canadian edition is still there, with no image: CSV Import had made the item and filled its first few fields when the import stopped, so it never recorded the item as its own, and Undo doesn't know about it. Under its title, click Delete, then Delete again to confirm.

Always look for a leftover item after an Import Error. It's the row the import stopped on, and it has only the fields to the left of the problem.
Save the file as CSV UTF-8
Open the old file in your spreadsheet program, check that Montréal and the curly quotes look right, and save a copy in UTF-8:
- Excel: File › Save As, then CSV UTF-8 (Comma delimited) (.csv).
- Google Sheets: File › Download › Comma-separated values (.csv). Google Sheets always saves UTF-8.
- LibreOffice Calc: File › Save As, choose Text CSV (.csv), tick Edit filter settings, and choose Unicode (UTF-8) under Character set.
hollis-catalogs.csv is that copy, saved by Excel.
Map the column the mark hides
- Click CSV Import and choose hollis-catalogs.csv. Choose Text, the Hollis Brothers Seed Company collection, and Make All Items Public?, as before. Click Next.
- On step 2, the first row, Dublin Core:Title, shows Select Below, though its heading is spelled exactly like the others. Excel's CSV UTF-8 starts the file with an invisible character, a byte order mark, and CSV Import reads it as part of the first heading, which then names no element.
- In that row's menu, choose Title, under Dublin Core. Tick Files? on the Image URL row and click Import CSV File.
- When the import is Completed, with 4 Imported Items and none skipped, open the Canadian edition. Montréal (Québec) and Hollis Frères came through intact.

Check the first row of step 2 every time you import a file saved by Excel. Google Sheets and LibreOffice don't add the mark.
The rules for a spreadsheet
CSV Import checks the heading row and the first row when you click Next, and refuses the file if either is wrong. It checks every other row as it imports, and skips the ones that are wrong.
- One heading row, with every heading different and none blank. Two columns with the same heading, or two without one, get the file refused. Excel sometimes keeps empty columns to the right of your data, which count as blank headings: delete them.
- The same number of cells in every row. A first row that doesn't match the headings gets the file refused. A later row that doesn't match is skipped, and counted under Skipped Rows.
- Blank rows do no harm. Each one is skipped and counted under Skipped Rows.
- No emoji. Omeka Classic's database can't store emoji or a few rare characters, even in UTF-8. A row with one stops the import with Import Error, as the old file did.
- One sheet per file. A .csv file holds a single sheet, so save each sheet you want to import as a file of its own.
Going further
Testing for character problems, semicolons, opening an old file in the right encoding, and dates.
Test the rows with accents
A test import of the first few rows catches most problems, but not this one: the first rows of a list are often plain. When you test a file from another program, include a row with an accented letter or a curly quote, and check it on the item's page.
Use HTML? hides the problem
On step 2, Use HTML? tells CSV Import a column holds formatting (lesson 4). On a column with those ticked, Omeka cleans the HTML and quietly drops the characters it can't read instead of stopping: Montréal becomes Montral. Check accented words after any import of a file you didn't save yourself.
Semicolons between columns
Spreadsheet programs set up for some European languages save CSV files with semicolons between the columns, because they use the comma in numbers. Type ; in Choose Column Delimiter on step 1. CSV Import remembers it for the next import, so change it back afterwards.
Opening an old file in the right encoding
If accented letters look wrong when you open an old file, your program guessed its encoding wrong. Don't save it like that: the wrong letters would then be saved in UTF-8 and imported faithfully. LibreOffice Calc asks how to read a CSV file when you open it: choose Western Europe (Windows-1252/WinLatin 1) under Character set, check the preview, and click OK. Then save it as UTF-8 as above.
Dates
CSV Import stores each cell exactly as it's written. Excel, though, turns anything that looks like a date into its own date format when it opens a CSV file, so 1907-03-14 can come back as 3/14/1907. Before you save, check the date column, and format it as Text if Excel has changed it.
When things go wrong
What each refusal means, and what to do about a stopped import or wrong letters.
- "Your file is incorrectly formatted. Header row contains 8 unique column name(s) for 9 columns. Please ensure that all column names are unique." Two headings are the same, or two are blank. Rename or delete them and save again.
- "Your file is incorrectly formatted. Incorrect number of columns in first row." The first row has more or fewer cells than the heading row. Often the file has semicolons between its columns: see Semicolons between columns. (When the first row has no commas in it, such a file gets through instead, and step 2 shows a single column with every heading run together.) If there's a blank line right after the headings, delete it.
- The import stops with Import Error. A row has a character Omeka can't store: the file isn't UTF-8, or the row has an emoji. Undo the import, delete the half-made item it left, fix the file, and import it again.
- The first column shows Select Below. The file starts with Excel's byte order mark. Choose the column's element yourself.
- Accented letters show as é or ?. The file was opened in the wrong encoding and saved again, so the wrong letters are now in the file. Go back to the original file and open it in the right encoding.
- An error page appears instead of step 2. The file is empty, or has only a heading row.