G
G
gleb-mihalkov2016-01-14 12:24:36
HTML
gleb-mihalkov, 2016-01-14 12:24:36

Why does the encoding get lost in the preview of the link to the site on the VKontakte wall?

There is a site: skb44.ru
Encoding of site pages - utf8. html tag is affixed

<meta http-equiv="content-type" content="text/html; charset=utf-8">

The file .htaccesscontains the directive AddDefaultCharset UTF-8. But, if you insert a link to the VKontakte wall, krakozyabry is displayed on the site preview. Empirically, it turned out that the contact considers, they say, the site in the cp1251 encoding. How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cat Anton, 2016-01-14
@gleb-mihalkov

Because in the response from the server you have:
Somewhere in the code (CMS) it looks like windows-1251 is set.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question