Hi, there.
I have a button to import a file csv, but when the file is imported comes with utf-8 error
How do I resolve this error?
Hi, there.
I have a button to import a file csv, but when the file is imported comes with utf-8 error
How do I resolve this error?
Hello @leosantosx! Is your button a file picker component or regular button component? Would you mind sharing a screenshot of the right panel of this button?
Would you mind sharing your CSV with us at support@retool.com so we can test it?
Alternatively, a screenshot of your left panel showing btn_importar_vouchers.parsedValue would be super helpful!
the file is in portuguese
File csv: https://mfresh.s3.amazonaws.com/retool/template_voucher_pdv_modelo.csv
demo:
Aha! I was able to get this to work by using Mac's built-in Numbers app to export with UTF-8 encoding!
Export to... > CSV... > Advanced options > Text Encoding: UTF-8
I also read online (here's a Stack Overflow thread with a few different ideas) that throwing this CSV into Google Sheets and exporting from there works as well.
thank you very much, it worked!
Que bom que funciono! Glad itβs working for you. Happy to help π