티스토리 뷰

Linux/명령어 (command)

iconv (encoding)

이주성 2017. 9. 15. 15:18

파일의 현재  encoding을 알고싶으면, file명령어를 쓰면 된다.

file YourFile.txt

Also, you can use iconv without providing the encoding of the original file:

iconv -f EUC-KR -t UTF-8 YourFile.txt

결과물을 저장하고 싶으면

iconv -f EUC-KR -t UTF-8 YourFile.txt > result.txt


'Linux > 명령어 (command)' 카테고리의 다른 글

로그를 보는법 (log)  (0) 2017.12.11
service start/stop  (0) 2017.12.11
mount nfs하기  (0) 2017.12.08
port 번호 보기  (0) 2017.11.23
SD Card Write / Backup  (0) 2017.09.14
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함