xref: /freebsd/contrib/file/magic/Magdir/unicode (revision b6cee71de37d56e36dbc118e2d9b03e7cece5709)
1*b6cee71dSXin LI
2*b6cee71dSXin LI#------------------------------------------------------------------------------
3*b6cee71dSXin LI# $File: unicode,v 1.6 2010/09/20 18:55:20 rrt Exp $
4*b6cee71dSXin LI# Unicode:  BOM prefixed text files - Adrian Havill <havill@turbolinux.co.jp>
5*b6cee71dSXin LI# GRR: These types should be recognised in file_ascmagic so these
6*b6cee71dSXin LI# encodings can be treated by text patterns.
7*b6cee71dSXin LI# Missing types are already dealt with internally.
8*b6cee71dSXin LI#
9*b6cee71dSXin LI0	string	+/v8			Unicode text, UTF-7
10*b6cee71dSXin LI0	string	+/v9			Unicode text, UTF-7
11*b6cee71dSXin LI0	string	+/v+			Unicode text, UTF-7
12*b6cee71dSXin LI0	string	+/v/			Unicode text, UTF-7
13*b6cee71dSXin LI0	string	\335\163\146\163	Unicode text, UTF-8-EBCDIC
14*b6cee71dSXin LI0	string	\000\000\376\377	Unicode text, UTF-32, big-endian
15*b6cee71dSXin LI0	string	\377\376\000\000	Unicode text, UTF-32, little-endian
16*b6cee71dSXin LI0	string	\016\376\377		Unicode text, SCSU (Standard Compression Scheme for Unicode)
17