久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <legend id='5uQnV'><style id='5uQnV'><dir id='5uQnV'><q id='5uQnV'></q></dir></style></legend>

    <small id='5uQnV'></small><noframes id='5uQnV'>

      <tfoot id='5uQnV'></tfoot>
          <bdo id='5uQnV'></bdo><ul id='5uQnV'></ul>
      1. <i id='5uQnV'><tr id='5uQnV'><dt id='5uQnV'><q id='5uQnV'><span id='5uQnV'><b id='5uQnV'><form id='5uQnV'><ins id='5uQnV'></ins><ul id='5uQnV'></ul><sub id='5uQnV'></sub></form><legend id='5uQnV'></legend><bdo id='5uQnV'><pre id='5uQnV'><center id='5uQnV'></center></pre></bdo></b><th id='5uQnV'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='5uQnV'><tfoot id='5uQnV'></tfoot><dl id='5uQnV'><fieldset id='5uQnV'></fieldset></dl></div>

        瀏覽器顯示 而不是 ´

        Browser displays ? instead of #180;(瀏覽器顯示 而不是 )
        <legend id='WDfuF'><style id='WDfuF'><dir id='WDfuF'><q id='WDfuF'></q></dir></style></legend>

        • <small id='WDfuF'></small><noframes id='WDfuF'>

        • <tfoot id='WDfuF'></tfoot>
          <i id='WDfuF'><tr id='WDfuF'><dt id='WDfuF'><q id='WDfuF'><span id='WDfuF'><b id='WDfuF'><form id='WDfuF'><ins id='WDfuF'></ins><ul id='WDfuF'></ul><sub id='WDfuF'></sub></form><legend id='WDfuF'></legend><bdo id='WDfuF'><pre id='WDfuF'><center id='WDfuF'></center></pre></bdo></b><th id='WDfuF'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='WDfuF'><tfoot id='WDfuF'></tfoot><dl id='WDfuF'><fieldset id='WDfuF'></fieldset></dl></div>
              <tbody id='WDfuF'></tbody>

                <bdo id='WDfuF'></bdo><ul id='WDfuF'></ul>

                  本文介紹了瀏覽器顯示 而不是 ´的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  我有一個(gè)包含以下文本的 PHP 文件:

                  I have a PHP file which has the following text:

                  <div class="small_italic">This is what you′ll use</div>
                  

                  在一臺(tái)服務(wù)器上,它顯示為:

                  On one server, it appears as:

                  This is what you′ll use
                  

                  另外一個(gè),如:

                  This is what you?ll use
                  

                  為什么會(huì)有所不同,我該怎么做才能使其正確顯示(作為撇號(hào))?

                  Why would there be a difference and what can I do to make it appear properly (as an apostrophe)?

                  請(qǐng)注意(以供將來(lái)參考)

                  我實(shí)現(xiàn)了 Gordon/Gumbo 的建議,只是我是在服務(wù)器級(jí)別而不是應(yīng)用程序級(jí)別實(shí)現(xiàn)的.請(qǐng)注意,(a) 我必須重新啟動(dòng) Apache 服務(wù)器,更重要的是,(b) 我必須用正確編碼的更正數(shù)據(jù)替換現(xiàn)有的壞數(shù)據(jù)".

                  I implemented Gordon's / Gumbo's suggestion, except I implemented it on a server level rather than the application level. Note that (a) I had to restart the Apache server and more importantly, (b) I had to replace the existing "bad data" with the corrected data in the right encoding.

                  /etc/php.ini

                  /etc/php.ini

                  default_charset = "iso-8859-1"

                  default_charset = "iso-8859-1"

                  推薦答案

                  您必須確保使用正確的字符集提供內(nèi)容:

                  You have to make sure the content is served with the proper character set:

                  發(fā)送帶有 header 的內(nèi)容>

                  <?php header("Content-Type: text/html; charset=[your charset]"); ?>
                  

                  或 - 如果 HTTP charset 標(biāo)頭不存在 - 插入 元素進(jìn)入:

                  or - if the HTTP charset headers don't exist - insert a <META> element into the <head>:

                  <meta http-equiv="Content-Type" content="text/html; charset=[your charset]" />
                  

                  正如屬性名稱所暗示的那樣,http-equiv 相當(dāng)于一個(gè) HTTP 響應(yīng)標(biāo)頭,如果未設(shè)置相應(yīng)的 HTTP 標(biāo)頭,用戶代理應(yīng)該使用它們.

                  Like the attribute name suggests, http-equiv is the equivalent of an HTTP response header and user agents should use them in case the corresponding HTTP headers are not set.

                  就像 Hannes 在問(wèn)題的評(píng)論中已經(jīng)建議的那樣,您可以查看您的網(wǎng)絡(luò)服務(wù)器返回的標(biāo)頭以查看它提供的編碼.兩臺(tái)服務(wù)器之間可能存在差異.因此,將上面的 [your charset] 部分更改為工作"服務(wù)器的部分.

                  Like Hannes already suggested in the comments to the question, you can look at the headers returned by your webserver to see which encoding it serves. There is likely a discrepancy between the two servers. So change the [your charset] part above to that of the "working" server.

                  有關(guān)原因的更詳細(xì)解釋,請(qǐng)參閱 Gumbo 的回答.

                  For a more elaborate explanation about the why, see Gumbo's answer.

                  這篇關(guān)于瀏覽器顯示 而不是 ´的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動(dòng)游標(biāo)不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術(shù)方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個(gè)值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅(qū)動(dòng)程序)

                  • <bdo id='Eo30O'></bdo><ul id='Eo30O'></ul>

                        • <legend id='Eo30O'><style id='Eo30O'><dir id='Eo30O'><q id='Eo30O'></q></dir></style></legend>
                          <i id='Eo30O'><tr id='Eo30O'><dt id='Eo30O'><q id='Eo30O'><span id='Eo30O'><b id='Eo30O'><form id='Eo30O'><ins id='Eo30O'></ins><ul id='Eo30O'></ul><sub id='Eo30O'></sub></form><legend id='Eo30O'></legend><bdo id='Eo30O'><pre id='Eo30O'><center id='Eo30O'></center></pre></bdo></b><th id='Eo30O'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Eo30O'><tfoot id='Eo30O'></tfoot><dl id='Eo30O'><fieldset id='Eo30O'></fieldset></dl></div>

                            <tbody id='Eo30O'></tbody>
                            <tfoot id='Eo30O'></tfoot>

                            <small id='Eo30O'></small><noframes id='Eo30O'>

                            主站蜘蛛池模板: 久久久久亚洲 | 曰批视频在线观看 | 精品1区 | 美女黄视频网站 | 国产成人精品999在线观看 | 中文字字幕在线中文乱码范文 | 亚洲在线观看视频 | 久久草在线视频 | 国产成人福利 | 一级黄色片美国 | 日韩av免费看 | 欧美最猛黑人 | 成人午夜免费福利视频 | 九色综合网 | 免费黄色片在线观看 | 亚洲精品av在线 | 岛国一区 | 国产成人午夜精品影院游乐网 | 国产一区二区久久 | 欧美成年人视频在线观看 | 香蕉一区二区 | 91精品久久久久久久久久 | 99热精品久久 | 日本亚洲精品成人欧美一区 | 日韩精品在线播放 | 天天操综合网站 | 欧美在线资源 | 欧美日韩在线精品 | 日韩中文不卡 | 日本羞羞影院 | 一级电影免费看 | 国产成人精品久久 | 久久久久久久久久久久久9999 | 成人一区二区三区在线观看 | 日韩欧美在线观看 | 亚洲大片一区 | 精品一区二区三区在线观看 | 亚洲欧美综合精品久久成人 | 亚洲国产中文字幕 | 午夜影院在线观看 | 久久精品国产亚洲一区二区 |