This PR fixes a problem with in-file encoding detection described in #3777 where detection fails when the first 512 bytes isn't a valid UTF-8 string. The solution is to treat the first 512 bytes as raw bytes. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3779 -- Commit Summary -- * Fix in-file encoding detection (#3777) -- File Changes -- M src/encodings.c (2) -- Patch Links -- https://github.com/geany/geany/pull/3779.patch https://github.com/geany/geany/pull/3779.diff -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3779 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/3...@github.com>