View Issue Details

IDProjectCategoryView StatusLast Update
0000123fileGeneralpublic2019-11-19 05:22
Reporterprogval Assigned Tochristos  
PrioritylowSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version5.35 
Summary0000123: Character 0x1C prevents a file from being detected as text

Inserting 0x1C in a text file (ASCII or UTF-8) makes `file`/libmagic detect it as "data" instead of "ASCII text" or "UTF-8 Unicode text".

I'm not sure this is a bug as this character is non-printable, feel free to close this ticket if it isn't.
Steps To Reproduce$ echo "abcde \x1c fghij" > test.txt
$ file test.txt
test.txt: data
TagsNo tags attached.



2019-11-19 05:22

manager   ~0003332

Will not fix. 0x1c is "File Separator" and typically does not belong in text files (it is a control character).

Issue History

Date Modified Username Field Change
2019-11-13 15:21 progval New Issue
2019-11-19 05:21 christos Assigned To => christos
2019-11-19 05:21 christos Status new => assigned
2019-11-19 05:22 christos Status assigned => resolved
2019-11-19 05:22 christos Resolution open => fixed
2019-11-19 05:22 christos Note Added: 0003332