fix utf8 encoding in browsers