I'm trying to open the edict2.gz file from http://www.edrdg.org/jmdict/edict_doc.html which is a japanese->english dictionary so first I changed the extension to .txt. Currently there are many characters represented as \217\264\321 for example instead of the actually kanji character.
Next I try M-x revert-buffer-with-coding-system and different coding systems such as utf-8 (doesn't help at all), japanese-shift-jis-2004 (helps but there are still a few characters left as \362 etc, so I think this is out of date, and japanese-iso-8bit works! (is this the right one to use?)
How can I always open this file with the proper coding system so that I don't have to run the M-x revert-buffer-with-coding-system each time? Is there a special file ending (.jp or something) that will automatically invoke that coding system? I plan to parse it later similar to how Josh does it in his presentation here https://www.youtube.com/watch?v=uraPXeLfWcM