Fix for utf-8 problems on chrome and android