Fixed compatibility with old perl versions. Fixed UTF handling. Readme updates