There's among others #3700. Bottom line is that as it stands, a lot of things in Geany are not ready to handle NULs. We *could* load files with NULs and display them (Scintilla does support this), but most features would be broken (e.g. search, replace, etc. to only name the few I'm pretty certain about).
So for now Geany doesn't allow it, instead of limping on one leg. If sufficiently useful, and with sufficient warnings I am not entirely against the idea of loading it, but you need to be warned that it's unlikely to ever work perfectly well, because it requires too many changes everywhere. Geany being written in C, a *lot* of code in it assumes a NUL is the end of string data, so all of this would have to change -- and that's a lot. Also, although I'm more hopeful that having NULs wouldn't cause crashes, this should also be tested thoroughly, because I can imagine theoretical case where that could possibly happen (although I can't say we have such cases in the code). Anyway, I understand your problem, would love Geany to treat this like anything else, but it's unlikely to actually happen. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/4562#discussioncomment-17284153 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/repo-discussions/4562/comments/[email protected]>
