View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001950 | Far Manager | Viewer | public | 2011-12-21 09:54 | 2012-05-17 11:09 |
Reporter | Maximus | Assigned To | 2useven10 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.0 | ||||
Fixed in Version | 3.0 | ||||
Summary | 0001950: Ошибочно переключается в Dump режим на юникодных файлах | ||||
Description | файл в кодировке 1200, а вьювер его показывает как Dump imho, если есть bom - dump однозначно не нужен | ||||
Tags | No tags attached. | ||||
Build | 2302 | ||||
|
|
|
2302 |
|
Зачем bom в цикле проверять то? if ( nr < 2 ) return (nr > 0 && !bf[0]); else if (*(WORD*)bf == 0xFEFF || *(WORD*)bf == 0xFFFE) return false; for (nb = 0; nb+1 < nr; ++nb) if ( !bf[nb] && !bf[nb+1] ) return true; return false; |
|
чтобы не считать FE FF 00 00 ... текстовым файлом, в отличии от FE FF 0A 00 00 25 ... (? хотя, проверку на BOM надо будет совсем выкинуть ?) |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-12-21 09:54 | Maximus | New Issue | |
2011-12-21 09:54 | Maximus | File Added: guids.7z | |
2011-12-21 13:18 | 2useven10 | Note Added: 0008175 | |
2011-12-21 13:18 | 2useven10 | Assigned To | => 2useven10 |
2011-12-21 13:18 | 2useven10 | Status | new => feedback |
2011-12-21 13:18 | 2useven10 | Note Edited: 0008175 | |
2011-12-21 21:07 | Maximus | Note Added: 0008178 | |
2011-12-21 21:07 | Maximus | Status | feedback => assigned |
2011-12-21 22:11 | 2useven10 | Note Added: 0008180 | |
2011-12-22 05:22 | 2useven10 | Note Edited: 0008180 | |
2011-12-22 05:34 | 2useven10 | Note Edited: 0008180 | |
2012-05-17 11:09 | 2useven10 | Build | => 2302 |
2012-05-17 11:09 | 2useven10 | Status | assigned => closed |
2012-05-17 11:09 | 2useven10 | Resolution | open => fixed |
2012-05-17 11:09 | 2useven10 | Fixed in Version | => 3.0 |