Trilium Backend API
    Preparing search index...

    Interface SnifferOptions

    interface SnifferOptions {
        defaultEncoding?: string;
        maxBytes?: number;
        transportLayerEncodingLabel?: string;
        userEncoding?: string;
    }
    Index

    Properties

    defaultEncoding?: string

    The default encoding to use.

    "windows-1252"
    
    maxBytes?: number

    The maximum number of bytes to sniff.

    1024
    
    transportLayerEncodingLabel?: string

    The encoding specified by the transport layer.

    userEncoding?: string

    The encoding specified by the user.