Save CSV to UTF-8

Hey guys!
I have a Macro that runs on a platform that extracts information from the screen and saves it in a CSV. I wanted to know if it is possible to download the CSV file in UTF-8, since the format that the special characters come in is buggy and has an error (I’m from Brazil).
Uivision
erro 1

Excel

erro 2

Actually, Ui.vision uses UTF-8 by default. Are you sure the problem is in the downloaded file, and does not happen during the Excel import?

No, I use it on the web and it comes out in the format “Microsoft Excel Comma separated Values ​​File” and it comes out with buggy special characters. I tried to record a video to show, but it doesn’t record alternative screens, I don’t know why. so I’m sending a print of the format that is saved.

Please see this test macro - if you run it, is the saved CSV with unicode? It should be.

Below are prints with the macro response. had the same problem.


teste 1 2

The test macro works for me. Here a test with Notepad++, which uses unicode by default:

The issue is with Excel. → You need to change the Excel settings.

Excel does not use Unicode by default:

Thanks!
That way it worked.
You are AMAZING!

1 Like