I currently have a TextStreamIo file export but it is exporting with the BOM.
I used this code below with the 65001 codepage to instantiate my TextStreamIo in the UTF-8 format, but this is exporting a UTF-8 BOM file and I need to drop the BOM through code
int ExportBank(BankAccountTable BankAccountTable)
{
System.IO.Stream stream;
StreamIo file;
TextStreamIo io;
System.IO.StreamReader reader;
//65001 is the codePage for UTF-8 encoding
Io = TextStreamIo::constructForWrite(65001);
write ...
Export...
}
I have also tried following Martins reply with his code in this post:
But I could not get the errors to go away.