| [ PHPXref.com ] | [ Generated: Sun Jul 20 19:53:36 2008 ] | [ PHPReports 0.4.7 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 #!/bin/sh 2 # Use this script to change the default encoding 3 # from ISO-8859-1 to other that you want. 4 # Run it on the PHPReports root directory 5 if [ ! -n "$1" ] 6 then 7 echo Please inform the encoding to use! 8 exit 1 9 fi 10 11 temp=/tmp/$$.phprpt 12 default='ISO-8859-1' 13 for file in `fgrep -Ril $default *` 14 do 15 echo converting $file ... 16 sed s/$default/$1/ $file > $temp 17 cp $temp $file 18 done 19 if [ -f $temp ] 20 then 21 rm $temp 22 fi
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |