Automatically detect coding system with Enca (by Dmitriyi Paduchikh)