Maybe it should.
Here, the file is opened without an error if I force "Without encoding". This is probably because the encoding detection code is not used then and so won't fail on NULL bytes.

But the file is not opened without errors because in Geany, it is loaded until the first NULL byte and then cut off.

I agree this should be better and an error or at least information shown to user.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3498/1546994639@github.com>