Encoding detection and other fixes
New version 0.7.5