Encoding 썸네일형 리스트형 [Linux] 폴더내 파일 인코딩 바꾸기 # filename: euckr2utf8.sh # usage: ./euckr2utf8.sh source target # made by Heesung SHIN (ensual@gmail.com) # #!/bin/bash recurse () { rm -rf $2 echo make the directory $2 mkdir $2 for file in $(ls $1) do name="$1/$file" echo -n "$2/$file" | iconv -fcp949 -tutf8 -o temp # change the encoding of the name of file for newname in $(cat temp) do if [ -d $name ]; then recurse $name $newname else echo c.. 더보기 [PHP] CharSet Check mb_detect_encoding([string]) 더보기 [PHP] CharSet 변경 iconv([src_charset], [dest_charset], [string]); 더보기 이전 1 2 3 다음