ICU-1202 Correct the UTF-32BE BOM checking.

X-SVN-Rev: 6430
This commit is contained in:
George Rhoten 2001-10-25 18:47:41 +00:00
parent dd0d73a61e
commit 63b8f337e7

View file

@ -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{