I want to Change the encoding used to view a file, but the encoding option is disabled
the bottom right of the IJ window is read-only:
go to preferences -> File encodins: