语言重音显示为???在我的网站上

时间:2016-12-28 21:50:52

标签: html

目前我正在尝试在我的网站上显示 Korean Language 字符,但它显示的文字看起来像??? 韩语应该在哪里。

您可以在下面的屏幕截图中看到一个示例。

enter image description here

我尝试将以下内容添加到meta,但没有运气。

<meta http-equiv="content-language" content="ko"/>
<html lang="ko" xmlns="http://www.w3.org/1999/xhtml">

这是我头脑内容的当前结构。

<!DOCTYPE html>
<html lang="ko" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta charset="UTF-8" >
<!-- <meta http-equiv="content-language" content="ko"/> === commented out as it didn't do anything.--> 
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<meta property="og:image" content="" />
<meta property="og:url" content="" />
<meta property="og:title" content="" />
<meta property="og:type" content="website" />
<meta name="keywords" content="" />
<meta name="description" content="" />
</head>

编辑:我查看了以下一些问题,他们确实帮助解决了我的问题。 Question 1&amp; Question 2

1 个答案:

答案 0 :(得分:0)

元标记

<meta http-equiv="content-language" content="ko"/>

未声明文本的编码。这只是搜索引擎的提示,即您的网页使用了指定的语言。 lang属性具有相同的作用。

您应该使用charset属性:

<meta charset="UTF-8">
相关问题