<p>Set Encoding functionality</p>
<p>I am in the process of changing all files on my computer system<br>
from ISO 8859-1 to UTF-8. This is a slow, manual process because<br>
I rather want to make everything right, than miss something; but<br>
anyway, the suggestion here is about geany.</p>
<p>Right now if you wish to change the encoding to UTF-8, you have<br>
to do this (at the least via the main menu interface):</p>
<p>Go to:</p>
<p>Document -> Set Encoding -> Encoding -> Unicode (UTF 8)</p>
<p>This is too much work, in my opinion; but the even bigger issue<br>
is that many of the encodings I will, quite honestly, never need.</p>
<p>So my feature request here is - could this be improved?</p>
<p>Now I understand that for different people they may prefer to<br>
use other encodings than I do, so geany has to be flexible - no<br>
problem here.</p>
<p>I will make some suggestions next - please feel free to pick up<br>
on any idea that is deemed useful, and discard the others:</p>
<ol>
<li>
<p>Sort the entries there alphabetically. I think this would help<br>
avoid any confusion. Right now "SE Asian" appears before "Unicode"<br>
and "West European" appears on top. Which suits me of course,<br>
since I am in Europe too, but ... I'd rather prefer alphabetical<br>
listing. Or as an option (but it may be better to be more<br>
consistent). This is not so important though.</p>
</li>
<li>
<p>I would suggest adding a short list of drop-downs here, e.g.<br>
the "top 3" or something. For example, if a user selects the<br>
main encoding more than 5 times then geany could realize that<br>
this may be a common operation - so what could then happen?<br>
That entry could appear on the bottom of that side-pane (not<br>
sure how it is called ... some gtk menu entry or gtk radio<br>
label button or something like that).</p>
</li>
</ol>
<p>This new entry could have the same name as normal such as<br>
Unicode (UTF-8) and it would allow users to quickly change<br>
the encoding after having done so a few times before. That<br>
would save me a little work.</p>
<ol start="3">
<li>
<p>Perhaps a shortcut could be assigned somewhere easily;<br>
ideally some key combination for this task (right now I have<br>
not figured out whether this is possible right now, so disregard<br>
if it is; I am learning geany slowly as I go; am far from expert<br>
level right now).</p>
</li>
<li>
<p>Perhaps intercept on right click mouse button context menu,<br>
with some option to add this to some default keybinding or<br>
something from there.</p>
</li>
</ol>
<p>Anyway - these are mostly just semi-random ideas. The more general<br>
comment is that it may be useful to improve geany here, since I<br>
think this may be a task that a few people may have to do every<br>
now and then (e. g. when having downloaded some files or working<br>
with legacy files, although geany also already seems to have an<br>
option to load up files in a specific encoding, which is nice;<br>
but this does not seem to work or perhaps I haven't fully understood<br>
it, since the bottom status still shows encoding :iso something,<br>
even when i save it; right now I have to manually change the<br>
encoding on every file like that. It works but is slow.)</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/2144">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3I4NURTCMB4DIFVWLPUB52RANCNFSM4HLCRNJA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4BYWSL2YHEG4KWHC3PUB52RA5CNFSM4HLCRNJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GSGVPWQ.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/2144",
"url": "https://github.com/geany/geany/issues/2144",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>