Module Liquidsoap_lang.Binary_strings_mapSource

Sourceval max_printable_length : int ref

Strings longer than this or containing invalid UTF-8 are treated as binary. Defaults to 4096.

Sourceval is_binary : ?utf8:bool -> string -> bool

Return true if s should be treated as binary. When utf8 is true (default), any non-UTF-8 string is considered binary. When utf8 is false, only the length is checked.