Hey folks,
Sorry to pick such an eye-catching title. ;)
I compiled an .exe today on windows, via msys2.
I never managed to do so before; I am a linux guy really.
Anyway, I wanted to find out whether it was 32bit or 64bit. How retarded windows is!!! You can't easily find it out (ok you can, but you may need to install a SDK or something).
Anyway. One solution was to look at the content after the PE string.
At first I tried to use geany there, but geany whined:
"The file "C:\aragorn.exe" does not look like a text file or the file encoding is not supported".
Notepad.exe on the other hand showed the file content. And I saw the PE identifier and since I was on stackoverflow, I now knew that it was 64 bit.
So please, anyone with commit rights, could this be changed on geany? A notification is ok, or perhaps a "do you want to open the file nonetheless"? Or, the simplest, to just open it as-is, like notepad does.
As long as this is not possible, notepad wins. (Perhaps there are options to configure, but I think this is where notepad.exe has better defaults and perhaps also notepad++.exe).
TL;TD: Geany should not refuse to open a file arbitrarily so. The user should decide at his or her own discretion.