xref: /openbsd/usr.bin/file/magdir/unicode (revision 264ca280)
1#	$OpenBSD: unicode,v 1.4 2015/10/05 22:45:26 nicm Exp $
2
3#------------------------------------------------------------------------------
4# Unicode:  BOM prefixed text files - Adrian Havill <havill@turbolinux.co.jp>
5# GRR: These types should be recognised in file_ascmagic so these
6# encodings can be treated by text patterns.
7# Missing types are already dealt with internally.
8#
90	string	+/v8			Unicode text, UTF-7
100	string	+/v9			Unicode text, UTF-7
110	string	+/v+			Unicode text, UTF-7
120	string	+/v/			Unicode text, UTF-7
130	string	\335\163\146\163	Unicode text, UTF-8-EBCDIC
140	string	\000\000\376\377	Unicode text, UTF-32, big-endian
150	string	\377\376\000\000	Unicode text, UTF-32, little-endian
160	string	\016\376\377		Unicode text, SCSU (Standard Compression Scheme for Unicode)
17