Search code examples
htmlamp-html

html amp thai charset


I have a test page in amp (accelerated mobile page). It is validate as well but the Thai characters are not correctly shown. AMP validate Thai symbols wrong

Then I have the same page were I substitute <meta charset="utf-8"> with <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> in this case the Thai characters are render correctly but the page is not anymore validate:AMP not validate Thai symbol OK

You can see the Thai language mouseover on the Thai flag (as title) and as last word in the page. How can I correctly render Thai characters in AMP?


Solution

    1. Do you realy make a 1:1 copy from index to index2? The characters in source code are different!?

    2. "contain a <meta charset="utf-8"> tag as the first child of their head tag." But your first tag is a style tag!