- 
      
 - 
        
Save ruby232/098ac44df6c14971209c0fa8fb560860 to your computer and use it in GitHub Desktop.  
    find all non UTF-8 encoded files
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | find . -type f | xargs -I {} bash -c "iconv -f utf-8 -t utf-16 {} &>/dev/null || echo {}" > utf8_fail | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment