encoding fix
preencoding fix
Merge pull request #1 from pavels/master

encoding fix