fix SIGFPE in spring-headless
Merge pull request #8 from abma/utf8

fix SIGFPE in spring-headless