XML - BOM

Andrea Zen a.zen at athesiavr.it
Mon Jan 30 08:13:45 EST 2017


Hello, try setting $exportbom to kFalse in $prefs.

Andrea Zen


> -----Original Message-----
> From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On
> Behalf Of Simon Dorset
> Sent: Monday, January 30, 2017 2:08 PM
> To: omnisdev-en at lists.omnis-dev.com
> Subject: XML - BOM
> 
> 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
> 
> __________________________________________________________
> ___
> Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list