mlvwm
mlvwm copied to clipboard
Convert *.jp encoding to UTF-8
Thanks, @maekawa-mugi!
Were the original files encoded using Shift JIS? I have to admit, I haven't checked in years.
oddly ISO-2022-JP and EUC-JP were mixed together.
$ nkf --guess *.jp sample_rc/*-j
CHANGELOG.jp: EUC-JP (LF)
CONFIGURATION.jp: ISO-2022-JP (LF)
FAQ.jp: EUC-JP (LF)
README.jp: EUC-JP (LF)
sample_rc/Mlvwmrc-j: EUC-JP (LF)
sample_rc/Mlvwmrc-Kterm-j: ISO-2022-JP (LF)
what i did:
$ find . -name '*.jp' -type f -print0 | xargs -0 nkf -u --overwrite -w
$ find . -name '*-j' -type f -print0 | xargs -0 nkf -u --overwrite -w