xref: /dragonfly/contrib/file/magic/Magdir/unicode (revision 4a65f651)
1#---------------------------------------------------------------------------
2# Unicode:  BOM prefixed text files - Adrian Havill <havill@turbolinux.co.jp>
3# GRR: These types should be recognised in file_ascmagic so these
4# encodings can be treated by text patterns.
5# Missing types are already dealt with internally.
6#
70	string	+/v8			Unicode text, UTF-7
80	string	+/v9			Unicode text, UTF-7
90	string	+/v+			Unicode text, UTF-7
100	string	+/v/			Unicode text, UTF-7
110	string	\335\163\146\163	Unicode text, UTF-8-EBCDIC
120	string	\376\377\000\000	Unicode text, UTF-32, big-endian
130	string	\377\376\000\000	Unicode text, UTF-32, little-endian
140	string	\016\376\377		Unicode text, SCSU (Standard Compression Scheme for Unicode)
15