Special character does not appear as expected

I have the following simple HTML page:

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
    <div>
        méywe
    </div>
</body>
</html>

When displaying it in Chrome or Firefox (I have not tested other browsers), I see the following:

mywe

What did I miss? The html file is saved in UTF-8 encoding. Apache server. My machine is Windows 7 pro. The text editor is UltraEdit.

Thanks!

Update

UltraEdit html , . cmbuckley Notepad ++ ( Heatmanofurioso), , - ( UltraEdit, Notepad). Notepad utf-8. (, - ???). UltraEdit, . . , .

, , . , . Notepad ++ utf8 , UltraEdit - .

!!!

+4
5

1 -

<meta charset="utf-8">

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

2 - , HTML Editor UTF8. , , Notepad ++.

3 - , , - . css, /,

body
{
    font-family: "Times New Roman", Times, serif;
}

, :)

+7

Windows-1252 ( ) UTF-8, < ASCII UTF-8 UltraEdit , , UTF-8.

22.10 UltraEdit UTF-8, UTF-8 , . UltraEdit HTML-, UTF-8 HTML .

, , UltraEdit v22.10 HTML UTF-8, HTML5, charset utf-8 HTML5. charset= utf-8. IDM Computer Solutions, Inc., , HTML5 UTF-8. UTF-8 UltraEdit UE v24.00 UES v17.00 , .

, HTML5 UTF-8, UltraEdit ANSI, . ( 64 ) UTF-8 HTML

  • U8-, (DOS/UNIX/MAC), UE < v19.00 UE
  • utf-8, UE v19.00 , .

, UltraEdit

  • UTF-8 - NO BOM (Windows Vista ), , Format (Windows 2000/XP), ANSI UTF-8 ,
  • ASCII to UTF-8 ( ) , ASCII/ANSI UTF- 8 ,
  • - UTF-8 (UE v19.00 ), ASCII/ANSI UTF-8 .

UTF-8 - - - .

méywe UTF-8, 6D C3 A9 79 77 65 (), méywe, UTF-8 ASCII/ANSI ( " - " ) Windows-1252 , UltraEdit UTF-8, <meta charset="utf-8"> , UTF-8 64 .

:

?

UTF-8 , ANSI ( ) UTF-8. , HTML

<meta charset="utf-8">

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

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

XML

<?xml version="1.0" encoding="UTF-8"?>

<?xml version="1.0" encoding='utf-8'?>

' " utf-8, utf-8 ( ), , , .

? - , UltraEdit .

+4

Can you check and check if the server sends a charsetheader Content-type? The one specified in this encoding will take precedence over what you specify with the element meta.

+3
source

For me, replacing the font family with Calibri (or any other common font) worked.

Example:

<span style="font-family:Calibri">&#35; My_Text</span>
+2
source

Replace meta charset="utf-8"with meta http-equiv="Content-Type" content="text/html; charset=utf-8". Perhaps this will help.

Otherwise, what is your font?

-one
source

All Articles