nkf

Network kanji filter.

TLDR

Convert to UTF-8 encoding

>_ nkf -w [path/to/file.txt]
copy

Convert to SHIFT_JIS encoding

>_ nkf -s [path/to/file.txt]
copy

Convert to UTF-8 encoding and overwrite the file

>_ nkf -w --overwrite [path/to/file.txt]
copy

Set new line code to LF and overwrite (unix type)

>_ nkf -d --overwrite [path/to/file.txt]
copy

Set new line code to CRLF and overwrite (windows type)

>_ nkf -c --overwrite [path/to/file.txt]
copy

Decrypt mime file and overwrite

>_ nkf -m --overwrite [path/to/file.txt]
copy

Copied to clipboard
free 100$ digital ocean credit