H
H
heIIfire2016-10-10 10:16:12
HTML
heIIfire, 2016-10-10 10:16:12

Why is the Cyrillic alphabet not displayed correctly?

The fact is that the Cyrillic alphabet does not correctly display names in this form. If you write a different text, or change at least one letter, everything will be OK.

<!DOCTYPE html>
<html>
<head>
    <title>Борн ту би</title>
</head>
<body>
    Борн ту би эпик!
</body>
</html>

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Dubrovin, 2016-10-10
@z3apa3a

If you don't specify charset in HTTP headers or in META, then the browser encounters 8-bit characters in a document and tries to determine its encoding. It works heuristically and according to the statistical characteristics of the text. Since your text is really short, not in Russian and does not fit into the statistical characteristics of any Cyrillic code page, then the encoding is most likely determined incorrectly.

M
mletov, 2016-10-10
@mletov

Rename the page or just call it with a test.html?r=123 type parameter.
Also, don't forget to specify the encoding in the meta, for example: <meta charset="UTF-8">, and if it's a php script, you can additionally specify it through the headerheader('Content-Type: text/html; charset=utf-8');

M
Maxim Timofeev, 2016-10-10
@webinar

Apparently the cache because this can not be

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question