micro
micro copied to clipboard
Add Shift-JIS encoding support
Hi, i do a lot of Japanese game to english reinsertion of script and i would need Shift-JIS encoding support to not have to rely on Notepad++ in Wine. Shift-JIS's supported in Fedora and OpenSUSE with an extra package but need to be injected back in other distros. I run Arch Linux and did inject it back into my glibc version. Is there any plan to add it ? I am unsure if the Shift-JIS part of the Fedora package came from FreeBSD.
I did try to enforce the encoding in the last 2h and it fail to properly show in Shift-JIS with unknown character mark.
I do not think there are packages that have to be installed, but encoding
option can be specified in arguments like this when running micro so that files will be opened in a different encoding:
$ micro -encoding shift_jis file.txt
A file can be reopened in another encoding in micro when pressing Ctrl-e
then entering these commands:
> setlocal encoding shift_jis
> reopen