/ Published in: Bash
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
find /Directory/With/Files -name '*.php' | while read f ; do iconv -f UTF-8 -t CP1251 <$f >$f.tmp && mv "$f.tmp" "$f" ; done
Comments
 Subscribe to comments
                    Subscribe to comments
                
                