{"success":true,"data":{"ext":"others","name":"OTHERS","description":"The UTF-8 byte order mark is a Unicode character sequence defined and maintained by the Unicode Consortium to indicate the presence of UTF-8 encoded text. It is used at the start of plain text files, configuration files, and source code to help software detect encoding, although many UTF-8 documents omit it. Historically, it has caused parsing issues in tools that do not expect it, but it is not considered a security risk.","mime":[],"risk_level":"Safe","signatures":[{"hex":"EF BB BF","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"FF FE","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"FE FF","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"FF FE 00 00","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"00 00 FE FF","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"0E FE FF","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["txt"],"usage":{"python":"def is_others(file_path: str) -> bool:\n    \"\"\"Check if file is a valid OTHERS by magic bytes.\"\"\"\n    signature = bytes([0xEF, 0xBB, 0xBF])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isOTHERS(buffer: Buffer): boolean {\n  const signature = Buffer.from([0xEF, 0xBB, 0xBF]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsOTHERS(data []byte) bool {\n    signature := []byte{0xEF, 0xBB, 0xBF}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"}}}