replaced ASCII Encoding with UTF8 encoding on all string transformations

I have requested another pull for master branch. But that was an accident, please ignore it...