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