creating UTF-8 text file

Started by Alain Stucki, March 10, 2024, 05:19:57 AM

Previous topic - Next topic

Alain Stucki

Hello. I'm trying to get our product data into a CSV-file and use this to import our data into a webshop. So I OPEN LOCK (7)"datafile.csv" and then I PRINT the requried data into that csv-file.

That works fine. I can open the file with Windows Editor and everything looks good. But when I import the file into the webshop, the accented characters look weird.So the problem is the codepage . The shop requires UTF-8 file format. And the file my little program has created is ANSI. So my questions is: How can I create UTF-8 text files (no BOM) or would I need to use a CLI tool to convert the file from ANSI to UTF-8?

Best regards
Alain Stucki


Alain Stucki

 :)
Hello
Thank you sooo much for your fast reply. This works great!