Please help me to save CSV as UTF-8 with BOM

I have a variable containing the following data (in Arabic):

1, أحمد, علي
5, فهد, سعد

I successfully saved it as a CSV file. However, when I open it in Google Sheets or Excel, the text appears as unreadable symbols. I can view it correctly in Excel only if I manually change the encoding.

I want the data to display correctly in Excel without requiring the user to adjust the encoding settings. I believe saving the CSV file using UTF-8 with BOM might solve the issue. However, after two days of searching and trying different solutions, I still haven’t found a way to make it work.

Any help would be greatly appreciated. Thanks!

try the UriEncode method from the web component
Taifun

I appreciate your help.
This is my first project, and I don’t have the level of experience you might expect.
Could you kindly provide me with a simple example?


It did not work

any help please

Show us some Do it results

use the companion app together with Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps

see also Live Development, Testing and Debugging

Taifun

CSV_K.aia (222.3 KB)

FAILD

hi…any help?

Instead of creating a csv file you could upload the data directly using this method

See also

Taifun

Thanks I’ll try it