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 or view it on GitHub: https://github.com/geany/geany/issues/3498#issuecomment-1546994639 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/3498/[email protected]>
