$NO_BOM_UTF8

Determines whether Uniface writes a Unicode Byte-Order-Mark (BOM) when the UTF-8 format is specified in $SYS_CHARSET or with filedump or lfiledump.

$NO_BOM_UTF8 { = } 1 | 0

Arguments

  • 1—write a UTF-8 file without a BOM
  • 0—write a UTF-8 file with a BOM

Defaults

Assignment file: Any application assignment file
Section: [SETTINGS]
Default value: 0

Description

When UTF-8 is specified by the UnicodeFormat parameter with filedump or lfiledump, or the $SYS_CHARSET assignment setting, Uniface writes a Unicode Byte-Order-Mark (BOM), a special character to recognize the encoding.

However, the generated files may be incompatible with other applications, especially on Unix platforms. To avoid such compatibility issues, you can use the $NO_BOM_UTF8 assignment setting.

Related Topics