XML - BOM

Simon Dorset simon at dorsetcomputing.co.uk
Mon Jan 30 08:08:15 EST 2017


Hi all.

 

I'm trying to create an XML file by simple writing a text file and including
standard XML tags which is a method I've used successfully before. On this
occasion, when I submit the file to my customer's customer they are
rejecting it because their application shows that its encoding is UTF-8-BOM
rather than UTF-8.

 

My initial line in the file is:

 

Transmit text to print file (Add newline) {<?xml version="1.0"
encoding="UTF-8"?>}

 

and I've definitely not written anything that should add in the extra
characters required to make the coding -BOM.

 

Having interrogated the file using Notebook++ it does show as UTF-8-BOM, but
I can't see why.

 

Has anyone come across this before?

 

Cheers

 

Simon




More information about the omnisdev-en mailing list