[Github-comments] [geany/geany] Notepad versus Geany (on Windows): Notepad wins (#2804)

rubyFeedback notifications at xxxxx
Mon May 3 23:23:47 UTC 2021


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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2804
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210503/740a2103/attachment.htm>


More information about the Github-comments mailing list