How to add new 8 bit codepage into encodings menu?browsing

I need a possibility of redaction in in-house custom 8bit codepage.
Ideally - integrate into encoding menu.
Acceptable can be a one-button command like “convert opened file from inhouse to utf-8” and “convert opened file from utf8 to inhouse”.