OSDN Git Service

Use eucJP-ms as input codeset of NKF conversion instead of EUC-JP
authorumorigu <umorigu@gmail.com>
Tue, 2 Dec 2014 16:52:50 +0000 (01:52 +0900)
committerumorigu <umorigu@gmail.com>
Tue, 2 Dec 2014 16:52:50 +0000 (01:52 +0900)
release.sh

index 56af3ac..feab943 100755 (executable)
@@ -155,7 +155,7 @@ if [ "$__utf8" ] ; then
   convert(){
     for list in "$@" ; do
       # NOTE: Specify '-E'(From EUC-JP) otherwise skin file will be collapsed
-      nkf -Ew "$list" > "$list.$$.tmp" && mv "$list.$$.tmp" "$list" && echo "  $list"
+      nkf --ic=eucJP-ms -w "$list" > "$list.$$.tmp" && mv "$list.$$.tmp" "$list" && echo "  $list"
     done
   }
   convert_EUCJP2UTF8(){