From 63b8f337e77633828e00612c4810c482ef505557 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 25 Oct 2001 18:47:41 +0000 Subject: [PATCH] ICU-1202 Correct the UTF-32BE BOM checking. X-SVN-Rev: 6430 --- icu4c/source/tools/toolutil/ucbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/tools/toolutil/ucbuf.c b/icu4c/source/tools/toolutil/ucbuf.c index 3749e25394e..ff70a0502b3 100644 --- a/icu4c/source/tools/toolutil/ucbuf.c +++ b/icu4c/source/tools/toolutil/ucbuf.c @@ -59,7 +59,7 @@ static UBool ucbuf_autodetect_nrw(FileStream* in, const char** cp,int* numRead){ *cp ="SCSU"; signatureLength=3; }else if(start[0] == '\x00' && start[1] == '\x00' && - start[2] == '\xFF' && start[3]=='\xFE'){ + start[2] == '\xFE' && start[3]=='\xFF'){ *cp = "UTF-32BE"; signatureLength=4; }else{