From ed74b844c2f2e134288c8832a2573a0e8716c42f Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 5 Oct 2015 22:45:26 +0000 Subject: [PATCH] Get BE and LE UTF-32 correct, from file 5.x. --- usr.bin/file/magdir/unicode | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.20.1