[ARCHIVED] SIS Import - UTF8 and "Couldn't find Canvas CSV import headers" errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had a frustrating day trying to import data into Canvas via an upload of CSV data on the admin SIS Import page.
I was building the data using Excel, and saving it to CSV with UTF8 format via the "Save As" option.
When I did this, I found I was getting the error message "Couldn't find Canvas CSV import headers" when I tried to upload it on the SIS Import page
When I inspected the file using a text editor, the headers looked fine.
However, when I inspected them using a command line tool (for me this was the `less` command on a Terminal window of my Mac) I could see that there was a character at the start of my file with the representation <U+FEFF>
This turns out to be the BOM character (Byte order mark) and is added by Excel to files in UTF8 format even though it is not strictly needed for UTF-8 (possibly this is a mac issue)
https://www.freecodecamp.org/news/a-quick-tale-about-feff-the-invisible-character-cd25cd4630e7/
I found this was a reliable way to get rid of it from my file:
1. In the terminal window, open the file with the editor `vim`:
vim YR_FILENAME
2. Hit the colon key (":") and enter the command "nobomb"
3. Now save your file. To do this, hit the colon key again, and enter the command wq which writes your file and then quits
character showing up in files. How to remove them? · GitHub
I hope this might help someone else having the same headaches as me!
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.