Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

cv/encoding-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encoding Detector

No Maintenance Intended

Detect encodings recursively over files in your project and kill those nasty non-UTF files before they rob you of tiresome hours that could be spent drinking beer instead!

This code was used once on a project far, far away. I haven't tried to make it too generic or super helpful, but hopefully should be enough to get things going. Contributions are most welcome and, if someone wants to comment on my dated Python skills, feel free to do so though the medium of patches ;)

License (LGPL)

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

About

Simple tool that uses chardet to fail a build if confidence about the encoding of a file is too low

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages