How to write csv file with groovy rule without adding Byte Order Mark (BOM) — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to write csv file with groovy rule without adding Byte Order Mark (BOM)

I am trying to create a csv file with groovy rule. All went well, except this created file contains byte-order mark (BOM), which is not needed. Automation is sending this file forward, outside EPM, and there BOM mark is leading to failure while reading the file.

I am using CsvWriter, it keeps adding this BOM mark to UTF-8. Trying to bypass it but every attemp is ending with validation error.

Is there any way to make csv file with groovy rule so that this BOM is excluded?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!