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

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2804">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5E3R5ORK3F46W3EJDTL4WAHANCNFSM44BVTUYA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7ZALAIVQSGZRYUP43TL4WAHA5CNFSM44BVTUYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4NBHFFCA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2804",
"url": "https://github.com/geany/geany/issues/2804",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>