Depending on your operating system and on the software you are using to read/import your CSV you may need to adjust the CSV document:
- encoding and BOM presence
- rfc4180 field compliance
- add the enclosure character on all fields
- prevents CSV formula injection
In the examples we will be using an existing CSV in ISO-8859-15 charset encoding as a starting point. The code may vary if your CSV document is in a different charset and/or exposes different CSV field formats.