I'm currently working on a vfpage that can upload records using CSVs similar to this project. But, the records in the CSV may contain accented characters from spanish alphabet. So, when I attempt to upload a csv with accented characters, those characters will instead look like a question mark (?) or unrecognizable.

Yes I have tried base64encoding and I'm avoiding the process of going through notepads or notepad++ to correct the characters before upload.

I really appreciate the help guys if you have any idea about this.

  • Please check if the files are UTF-8 encoded.
    – Saroj Bera
    Commented Feb 8, 2018 at 9:46
  • Can you give use a small sample CSV with some of the problem characters? Commented Feb 13, 2018 at 19:52
  • Hello, guys. I have decided to require the users to use specificied excel file extension: CSV UTF-8. After a period of relentless searching, it seems that there really is currently no existing workaround in the internet for this. Thanks anyway, guys.
    – SFDCKen
    Commented Feb 20, 2018 at 12:00

1 Answer 1


You need to change the encoding of the file to UTF-8

This is the sf documentation on how to do it https://help.salesforce.com/articleView?id=000324657&type=1&mode=1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .