added chardet for convenience
detect and cleanup encoding
README