I am trying to upload the enrollment file and it is giving the following error message.
Could you please help me.
The Invalid UTF-8 error means that the file you're sending has some special characters in it, but you have not encoded your file with UTF-8 encoding. What you need to do is either track down the stray character and remove it or keep it and tell Canvas that the file is UTF-8 encoded.
The top of the SIS Import Format Documentation has a note that says "All text should be UTF-8 encoded." Saying that should happen doesn't mean that it is automatic. It means that you need to make sure that it is.
For schools in the United States, this is not usually a problem because most of our names fall into the ASCII range, which is a subset of UTF-8 and doesn't need any special encoding. The only time I ran into an issue was when someone put an emoji in a course name or copy/pasted a title from Microsoft Word.
However, given the official languages of Rwanda, it seems likely that some of the names may have special characters in them. When that happens and there are special characters in a file, you need to make sure that it is UTF-8 encoded.
The enrollments.csv file itself doesn't include any names, it only includes codes to other files. We only use numbers an ASCII characters in our file. In fact, all of our IDs are the letters A-Z, digits 0-9, dash, and underscore. That makes it very computer friendly for us as some of the older programming languages we use don't have great support for UTF-8 or Unicode characters. Planning your SIS codes out ahead of time can save a bunch of headache later on. Given the questions you're having and the filenames that you're using, it looks like you are getting emailed files from someone else who may not completely understand what needs to happen. I strongly encourage you to test these things to your beta instance of Canvas: How do I access the Canvas beta environment as an admin?
Also, make sure you're using the Canvas Admin Guide. There is a section there on SIS imports and one of the documents is How do I format CSV text files for uploading SIS data into a Canvas account? That document won't explain the UTF-8 error, but it's still a good reference.
As for your UTF-8 error, without knowing what program you're using to create the CSV file, it's going to be difficult to tell you exactly how to fix that error.
If you are using Excel to generate it, then when you go to save the file, choose Save As instead of Save. It will give a list of file types that are available and you need to choose that to recognize UTF-8. Here's what my version of Excel looks like.
The default for a new Excel file is the "Excel Workbook" (in green at the top). The default for a CSV file is CSV (at the bottom of my image). You would want to change it to CSV UTF-8 (highlighted in blue).
The file names suggest that someone is emailing you files that you're then processing. You might encourage them to name the files based off the contents. That will make it easier for you to keep track of which one is which.
Retrieving data ...