English 中文(简体)
html 单编码显示的标签归属
原标题:html tag attribute displayed in unicode

I have the following code, from which you can see that, I use the same way to create the text in utf-8. The text shown between html tags are shown correctly. But the text shown as html tag attribute are shown in unicode. I m positive that on the server side(PHP), both texts are treated in the same way and are encoded in utf-8. Why the text as html tag attribute shown in unicode?

<head>
  <meta name="description" content="&#x88E6;&#xE791;&#xB188;&#x89E6;&#xE693;&#x988A;"/>
  <title>看看大家都在分享什么最新火爆的购物打折信息? </title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
</head>

<li id="nav_logout">
       <a href="http://www.example.com/test/svn/main/logout" title="&#x9000;&#x51FA;&#x672C;&#x7AD9;">退出</a>
       <span></span>
</li>
问题回答

根据这些评论,它们should 反之亦然,不转而成为超文本实体。 我冒 venture地猜测,你利用产出缓冲系统,通过这种功能重新补充产出。 查阅(所有,其栏目)>rel=“nofollow”>ob_start(>)号,并告诉我们第一种论点(产出通过功能的反馈)。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签