1

"A WebVTT file must consist of a WebVTT file body encoded as UTF-8 and labeled with the MIME type text/vtt." whatwg source: http://www.whatwg.org/specs/web-apps/current-work/webvtt.html

i figure i need to set .htaccess? i'm on apache/php/mysql.

albert
  • 8,112
  • 3
  • 47
  • 63
  • 1
    Did you mean to ask how do you configure mime types for apache web server? [http://stackoverflow.com/questions/913869/how-to-change-the-default-encoding-to-utf-8-for-server] and [http://www.i18nguy.com/markup/serving.html#tip01] might be of use to you. – Norman B. Robins0n Nov 02 '11 at 17:39

1 Answers1

2

Replace AddDefaultCharset ISO-8859-1 with AddDefaultCharset UTF-8 in the Apache.conf file.

If using .htaccess for configuration use something similar to:

<Files unicode-example-intro.html>
AddType "text/html; charset=UTF-8" html
</Files>