Syntax


BOM

[ ON | OFF | ? ]


Operands


ON | OFF

The desired BOM write status


?

Display the current status of the setting.



Description


If no operand is entered, the command wil 'toggle' the setting between ON and OFF. The resulting setting will be displayed in the confirmation message.


BOM (Byte Order Marker) prefixes are normally used at the beginning of UTF files to describe which type of UTF encoding is in use.


For UTF8 files, the BOM is optional and in some cases can cause problems when the files are read by some applications.  The BOM command, which only affects UTF8 files allows you to control whether SPFLite should write the BOM marker at the beginning of UTF8 files.


If ON is specified, the UTF8 BOM sequence will be written preceding the data.


If OFF is specified, no BOM will be written. 


The value is stored as part of the PROFILE options.


If neither ON nor OFF is specified, BOM will report the current option in effect.


Created with the Personal Edition of HelpNDoc: Make Help Documentation a Breeze with a Help Authoring Tool