fix for all locales
Merge pull request #2 from equeim/master

fix for all locales