久々にvi使ってたら忘れてたのでメモ。?
■文字コード変換
:set fileencoding=euc-jp | shift_jis | utf-8
■改行コード変換
:set fileformat=dos | mac | unix
■改行コード、^M(CR)を取り除く
:%s/^M//g
※^MはC-v C-mで入力。
leftside, rightside, uniside
久々にvi使ってたら忘れてたのでメモ。?
■文字コード変換
:set fileencoding=euc-jp | shift_jis | utf-8
■改行コード変換
:set fileformat=dos | mac | unix
■改行コード、^M(CR)を取り除く
:%s/^M//g
※^MはC-v C-mで入力。
This is the right website for anyone who wants to
understand this topic. You understand so much its almost hard to argue with
you (not that I really will need to…HaHa). You certainly put a
new spin on a topic that’s been written about for a long
time. Excellent stuff, just wonderful!