file detects utf32-be wrongly
Bug #285309 reported by
Michael Tsang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
file (Debian) |
Fix Released
|
Unknown
|
|||
file (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
michael@
utf32-be.txt: data
Changed in file: | |
status: | Unknown → New |
Changed in file (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
Confirmed in file 4.24-4. According to the Unicode FAQ[1], the Byte Order Mark is serialized as 00 00 FE FF in UTF-32. The magic in file 4.24-4 is looking for FE FF 00 00, which is why it's not detecting this file. A patch will be forthcoming.
[1] http:// unicode. org/faq/ utf_bom. html#bom4