From: nicm Date: Mon, 5 Oct 2015 22:45:26 +0000 (+0000) Subject: Get BE and LE UTF-32 correct, from file 5.x. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ed74b844c2f2e134288c8832a2573a0e8716c42f;p=openbsd Get BE and LE UTF-32 correct, from file 5.x. --- diff --git a/usr.bin/file/magdir/unicode b/usr.bin/file/magdir/unicode index a00ebcdce08..b6d0b31be0c 100644 --- a/usr.bin/file/magdir/unicode +++ b/usr.bin/file/magdir/unicode @@ -1,6 +1,6 @@ -# $OpenBSD: unicode,v 1.3 2009/04/24 18:54:34 chl Exp $ +# $OpenBSD: unicode,v 1.4 2015/10/05 22:45:26 nicm Exp $ -#--------------------------------------------------------------------------- +#------------------------------------------------------------------------------ # Unicode: BOM prefixed text files - Adrian Havill # GRR: These types should be recognised in file_ascmagic so these # encodings can be treated by text patterns. @@ -11,6 +11,6 @@ 0 string +/v+ Unicode text, UTF-7 0 string +/v/ Unicode text, UTF-7 0 string \335\163\146\163 Unicode text, UTF-8-EBCDIC -0 string \376\377\000\000 Unicode text, UTF-32, big-endian +0 string \000\000\376\377 Unicode text, UTF-32, big-endian 0 string \377\376\000\000 Unicode text, UTF-32, little-endian 0 string \016\376\377 Unicode text, SCSU (Standard Compression Scheme for Unicode)