BOMFILE System Option

Specifies whether to write the byte order mark (BOM) prefix on Unicode-encoded external files.
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Files: External files
PROC OPTIONS GROUP= EXTFILES

Syntax

BOMFILE | NOBOMFILE

Syntax Description

BOMFILE
Specifies to write a byte order mark (BOM) prefix when a Unicode-encoded file is written to an external file.
NOBOMFILE
Specifies not to write a BOM prefix when a Unicode-encoded file is written to an external file.

Details

The BOMFILE system option does not apply when a Unicode-encoded external file is read.
A BOM is a signature at the beginning of a Unicode data stream. The size of the BOM varies depending on the encoding.