adds proper utf-8 encoding