Here, the file is opened without an error if I force "Without encoding".

And if I force UTF-8.

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.

Yes, sorry not to be clear, by "no errors" I meant no error messages. I thought there was a message about file "might be truncated" or similar when a null was detected.


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/1547032462@github.com>