I've tried to geocode with MMQGIS Plugin a CSV file with addresses (converted from an Excel file) and I get an error:

UnicodeDecodeError: 'utf8' codec can't decode byte 0xf1 in position 0: invalid  continuation byte 

enter image description here

enter image description here

I've tried to save the CSV file with option UTF-8 but didn't found an option like it:

enter image description here

How can I handle this?

  • Are there perhaps invalid utf-8 characters in the content of the CSV table? I've just tried to save a CSV from Excel and use MMQgis geocode plugins and it works
    – Vale
    Commented Nov 15, 2016 at 11:41

2 Answers 2


Libreoffice calc:
You can choose the encoding with libreoffice calc: Edit filter settings Encoding for CSV file

MS Excel
Follow: https://help.surveygizmo.com/help/encode-an-excel-file-to-utf-8-or-utf-16
When saving as, click tools -> Web options -> Encoding -> choose the right encoding.


Open CSV file in Notepad and save as with UTF-8 encoding.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.