mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
For files (pre)detected as text, perform charset detection using the entire file content (instead of 8K buffer) to avoid misdetecting files with UTF-8-specific byte sequences far into the text as US-ASCII. Balk out early if detected binary from 8K buffer.