在HTML页面上使用土耳其字符

在HTML页面上使用土耳其字符,html,utf-8,character-encoding,turkish,Html,Utf 8,Character Encoding,Turkish,我认为charset:windows-1254应该在页面上提供土耳其字符,但它们不会出现,以下是我的完整代码: <html><head> <meta http-equiv="content-type" content="text/html; charset=windows-1254"> <title>Marmara İnşaat</title> </head> <body topmargin="0" leftmarg

我认为charset:windows-1254应该在页面上提供土耳其字符,但它们不会出现,以下是我的完整代码:

<html><head>
<meta http-equiv="content-type" content="text/html; charset=windows-1254">
<title>Marmara İnşaat</title>
</head>

<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginheight="0"     marginwidth="0" bgcolor="#FFFFFF">

<table border="0" width="100%" cellspacing="0" cellpadding="0" background="img/topbkg.gif">
  <tr>
    <td width="50%"><img border="0" src="img/toplogo.gif" width="142" height="66"></td>
    <td width="50%">
      <p align="right"><img border="0" src="img/topright.gif" width="327" height="66">    </td>
  </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0"     background="img/blackline.gif">
  <tr>
    <td width="100%"><font color="#B8C0F0" face="Arial" size="2"><b>&nbsp;&nbsp;
      Ana Sayfa&nbsp;&nbsp; </b></font></td>
  </tr>
</table>
<p style="margin-left: 20"><b><font color="#B8C0F0" face="Arial" size="20">&nbsp;    </font></b><font face="Arial" size="20" color="#0000FF"><p><b>Tüm müşterilerimizin Ramazan bayramı kutlu olsun!</b></p>
<p><b>Mutlu Bayramlar.</b></p>
</font></p>
<p style="margin-left: 20"><font face="Arial" size="2" color="#000000">&nbsp;</font></p>
<p style="margin-left: 20"><font face="Arial" size="2" color="#000000">&nbsp;</font></p>
<p style="margin-left: 20"><font face="Arial" size="2" color="#000000">&nbsp;</font></p>
<p style="margin-left: 20"><font face="Arial" size="2" color="#000000">&nbsp;</font>    </p>
<p style="margin-left: 20" align="center"><font face="Arial" color="#000000" size="1">©
Tüm Haklari Saklidir www.marmarains.com</font></p>
<p style="margin-right: 20" align="right"><font face="Arial" color="#000000" size="1">
<br>Marmara İnşaat,Dekorasyon,Gida<br></font></p>
<table border="0" width="100%" cellspacing="0" cellpadding="0"          background="img/botline.gif">
  <tr>
    <td width="100%"><img border="0" src="img/botline.gif" width="41" height="12"></td>
  </tr>
</table>
</body>
</html>

马尔马拉

安娜·赛法

Tümüterilerimizin Ramazan bayramıkutlu olsun

穆特鲁·贝拉姆拉

) Tüm Haklari Saklidir www.marmarains.com


马尔马拉·纳亚特、德科拉松、吉达

例如,我想要“Marmaraİnşaat”而不是“Marmara Insaat”


谢谢

文档尚未以windows-1254编码保存。许多程序甚至不能以这种编码方式生成数据。但是当正确地用这种编码编写时,页面就会按原样工作(好吧,在这方面;在其他方面也有编码错误)


然而,根据评论,通常(正式)建议使用UTF-8,正如您现在所做的那样。这也需要实际编码(数据保存在其中)和声明的编码(根据
meta
标记或其他方式)之间的匹配.

文件的实际编码是什么?@deceze我不太明白这个问题。但是文件扩展名是htm,index.htm
只是告诉浏览器文档应该用什么编码。它的实际编码是什么?它保存在文本编辑器中的编码是什么?如果你不能回答这个问题,请阅读。@deceze更改了,然后用N编码otepad++到UTF-8正在工作,谢谢!