find -name ‘*.php’ -exec iconv -f cp1251 -t utf8 ‘{}’ -o ‘{}’.utf8 \;
Idea taken from here.
AquilaX’s development blog
You are currently viewing the category archives of Linux
Category Archives: Linux
Linux batch encoding convert one liner
RT73 on Hardy Heron
If you happen to use rt73 wireless with serial monkey drivers, and after upgrading the wireless stopped to work, take a look at this thread on how to fix it. The good news is that rt73 adapters now work out of the box with Hardy.
Oracle with PHP5 on Linux
Very nice and useful tutorial on how to run Oracle with PHP5 support on Linux (Debian) can be found on http://remorse.nl/weblog/debian_oracle_xe_and_php5/
Note Also be sure to set the NLS_LANG environment variable to the www-data user.