Use ASCII rather than UTF8
new algorithm of Java & Groovy
Merge pull request #2 from redraiment/master

New Algorithm for Java & Groovy