xref: /dflybsd-src/contrib/file/magic/Magdir/unicode (revision 6fca56fb90a257291c53bba3b861b751027c3e3d)
1f72f8299SJan Lentfer
2f72f8299SJan Lentfer#------------------------------------------------------------------------------
36fca56fbSSascha Wildner# $File: unicode,v 1.7 2019/02/19 20:34:42 christos Exp $
4327e51cbSPeter Avalos# Unicode:  BOM prefixed text files - Adrian Havill <havill@turbolinux.co.jp>
56fca56fbSSascha Wildner# These types are recognised in file_ascmagic so these encodings can be
66fca56fbSSascha Wildner# treated by text patterns.  Missing types are already dealt with internally.
7327e51cbSPeter Avalos#
8327e51cbSPeter Avalos0	string	+/v8			Unicode text, UTF-7
9327e51cbSPeter Avalos0	string	+/v9			Unicode text, UTF-7
10327e51cbSPeter Avalos0	string	+/v+			Unicode text, UTF-7
11327e51cbSPeter Avalos0	string	+/v/			Unicode text, UTF-7
12327e51cbSPeter Avalos0	string	\335\163\146\163	Unicode text, UTF-8-EBCDIC
13*e4d4ce0cSPeter Avalos0	string	\000\000\376\377	Unicode text, UTF-32, big-endian
14327e51cbSPeter Avalos0	string	\377\376\000\000	Unicode text, UTF-32, little-endian
15327e51cbSPeter Avalos0	string	\016\376\377		Unicode text, SCSU (Standard Compression Scheme for Unicode)
16