utf-8 fix

This may fail on windows but it works perfectly on Linux.

I'd say rather than cutting off all Unicode characters inside the library just forward them to the user and let him decide what his interface can display or not.