xref: /freebsd/contrib/file/magic/Magdir/unicode (revision 2f513db72b034fd5ef7f080b11be5c711c15186a)
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