FlexSlider
FlexSlider copied to clipboard
Demo .html files do not specify character encoding correctly
The demo .html files (e.g., https://github.com/woocommerce/FlexSlider/blob/master/demo/index.html) contain the following meta tag for declaring the document character encoding:
<meta content="charset=utf-8">
The tag should look either like this (the modern HTML5 version):
<meta charset="utf-8">
... or this (older, but still works):
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
The <meta content="charset=utf-8">
tag seems to have similarities to both the old and new versions, but it doesn't actually appear to work in browsers. (In Firefox, for example, viewing the document gives the warning "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.")
Reference: https://www.w3.org/International/questions/qa-html-encoding-declarations