mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-1202 Correct the UTF-32BE BOM checking.
X-SVN-Rev: 6430
This commit is contained in:
parent
dd0d73a61e
commit
63b8f337e7
1 changed files with 1 additions and 1 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Reference in a new issue