파일의 현재 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
파일의 현재 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