I have a file with garbled Japanese text and need to convert it back to readable Japanese. The problem is that a) I don't know which encoding the original text used, and b) I don't know much about encodings and decodings and how to even go about converting one to the other.
If I do a less
on the file's content it shows as
ã<U+0081>“ã‚“ã<U+0081>«ã<U+0081>¡ã<U+0081>¯
If I open it in a text editor I see
ã“ã‚“ã«ã¡ã¯
I'm on a Mac and know there's one command called iconv
, but so far all attempts to decode failed.
How can I convert that back to readable Japanese?