From 54086bf8d625a70a6ba1b37fa2ff04c355d8146f Mon Sep 17 00:00:00 2001 From: Chris Lane Date: Mon, 15 Feb 2016 13:15:53 -0500 Subject: [PATCH] Minor formatting changes to the nkf cheatsheet. --- cheat/cheatsheets/nkf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cheat/cheatsheets/nkf b/cheat/cheatsheets/nkf index 9d2433b..d40c42d 100644 --- a/cheat/cheatsheets/nkf +++ b/cheat/cheatsheets/nkf @@ -1,20 +1,29 @@ # check the file's charactor code nkf -g test.txt + # convert charactor code to UTF-8 nkf -w --overwrite test.txt + # convert charactor code to EUC-JP nkf -e --overwrite test.txt + # convert charactor code to Shift-JIS nkf -s --overwrite test.txt + # convert charactor code to ISO-2022-JP nkf -j --overwrite test.txt + # convert newline to LF nkf -Lu --overwrite test.txt + # convert newline to CRLF nkf -Lw --overwrite test.txt + # convert newline to CR nkf -Lm --overwrite test.txt + # MIME encode echo ใƒ†ใ‚นใƒˆ | nkf -WwMQ + # MIME decode -echo "=E3=83=86=E3=82=B9=E3=83=88" | nkf -WwmQ \ No newline at end of file +echo "=E3=83=86=E3=82=B9=E3=83=88" | nkf -WwmQ