fix iconv syntax
authorx2002marichez <x2002marichez@839d8a87-29fc-0310-9880-83ba4fa771e5>
Fri, 27 Apr 2007 20:00:49 +0000 (20:00 +0000)
committerx2002marichez <x2002marichez@839d8a87-29fc-0310-9880-83ba4fa771e5>
Fri, 27 Apr 2007 20:00:49 +0000 (20:00 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1741 839d8a87-29fc-0310-9880-83ba4fa771e5

upgrade/0.9.14/wiki.utf8.sh

index 2d0f4da..19264c9 100644 (file)
@@ -7,7 +7,7 @@ find $WIKISPOOLDIR -name 'cache_*' -or -name 'tmp_*' -exec rm {} ";"
 for i in `find $WIKISPOOLDIR -type f`; do
     CONV=`echo -n $i | iconv -t UTF-8`
     mv $i $i.latin1
-    iconv -t UTF-8 $i.latin1 > $CONV
+    iconv -f latin1 -t UTF-8 $i.latin1 > $CONV
 done
 
 for i in `find $IMAGESPOOLDIR -type f`; do