b4n left a comment (geany/geany#2910)

@Enerccio what do you mean by "it" exactly?  The discussion was a bit complex, 
so it's not necessarily clear what "it" means :)

IIUC, the issue the OP has/had is that setting encoding "None" for the default 
non-Unicode encoding does not actually do the same as forcing "None" in the 
Open file dialog.

We potentially *could* make this work (or hide the option), but not what 
@elextr mentioned: this might actually cause issues using many built-in 
features.  It's even questionable that this option actually exist, as it's not 
*really* gonna work well, because Geany assumes the file content is represented 
as valid UTF-8 when loaded (that is, is converted back and forth if needed).

However, the loading of the file with an embedded NUL might already be improved 
-- or at least detection of those has been made more reliable since then (I'd 
even say it's not 100% reliable, whereas it had gotchas in the past).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2910#issuecomment-4113441298
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/2910/[email protected]>

Reply via email to