I would like to add CP949 in encoding format support. Geany can not read Hangul CP949, which is higher than the EUC-KR we are currently supporting. I'm looking forward to it.
Unfortunately iconv has no way of finding out what encodings are supported, so Geany has a hard coded list of fairly common ones that its hoped all iconvs support.
Geany can also open files with encodings that are not in its list but detectable by iconv.
Somebody might look at allowing encodings to be entered manually in the open dialog, but its unlikely to be any regular contributors since they are all Unicodeists. Pull requests are welcome.
`iconv -l` exists to list supported encodings, on my system I actually have CP949: ``` [15:55:39] enrico@endor (0) [master] : ~/projects/geany% iconv -l | /bin/grep CP949 CP949// MSCP949// ```
So it should be possible to add to Geany. I can't say when but if I find a little time, I will give it a try.
@eht16 sorry I meant no programmatic way so we can populate the list of encodings, unless you want to spawn `iconv -l` and parse the results, but then also how to divide the menu into the submenus?
Oh, no. I was just talking about adding CP949, not everything ever possible.
Hangul can read almost all documents with JOHAB and CP949. Can not you add it to Geany? All documents created with the latest Micro Windows are CP949. CP949 is a required encoding. I hope you will solve this problem in Geany.
github-comments@lists.geany.org