Macro Reference — Document Object — UnicodeSignature Property (Document Object)

# UnicodeSignature Property (Document Object)

Retrieves or sets the flag to indicate whether EmEditor adds the Unicode signature (BOM) next time it saves the document.

##

### [JavaScript]

    bUnicodeSignature = document.UnicodeSignature;
    document.UnicodeSignature = bUnicodeSignature;

### [VBScript]

    bUnicodeSignature = document.UnicodeSignature
    document.UnicodeSignature = bUnicodeSignature

## Version

Supported on EmEditor Professional Version 4.00 or later.