Started to add new functionality: Encoding detecting and changeing