made it able to run on any unicode text

![before_only_ascii](https://f.cloud.github.com/assets/196199/1880070/3aec435c-7953-11e3-89cc-3b3aeb07f74d.png)
![after_any_unicode](https://f.cloud.github.com/assets/196199/1880072/3ded87aa-7953-11e3-8495-3477462184c0.png)