encoding fix on older versions
Merge branch 'master' of github.com:irakli-janiashvili/rc