Confused by Kate menus

I have an issue where I want to set up .nfo files to always open the same way.

Name : kate
Version : 25.04.0-1

I can achieve what I need by opening the NFO file as follows:

kate --encoding cp437 file.nfo.

What I WANT, is that opening an NFO file will automatically do this. So far I created a filetype, so now NFO files do indeed open and display NFO in the bottom right corner of KATE, but I am unable to find where to set the default encoding to CP437 (or IBM437).

Apparently, newer versions of Kate simply make this a far less straightforward task than it probably should be…

Is there a solution?

.

I assume that this is the right window for the task, and feel that there should be an option for Default Encoding to be set for a filetype - AI searches reveal that it was removed in newer versions of Kate.

Is there a solution, or is this a new bug or regression?

Already it appears counter-intuitive not to have a separate entry for ‘encoding’ settings for filetypes - for these to be hidden beneath ‘open/save’ under a third tab is not intuitive.

1 Like