Tag Archives: US-ASCII

Verify file encoding with grep

List all lines in PHP-files in a directory-tree that contain characters out of the ASCII 7Bit pane: ~ grep -nPR –include=*.php [\xE0-\xFF] * Does a quick and easy controlling on a full package of files quickly. Finds stuff like this … Continue reading

Posted in Hacking The Core, Hakre's Tips, Pressed | Tagged , , , , | Leave a comment