Answer the question
In order to leave comments, you need to log in
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
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.
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');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question