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

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

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

      <tfoot id='zf8gj'></tfoot>

      1. 將 PHP 默認(rèn)編碼設(shè)置為 utf-8?

        Setting PHP default encoding to utf-8?(將 PHP 默認(rèn)編碼設(shè)置為 utf-8?)
            • <legend id='VNJps'><style id='VNJps'><dir id='VNJps'><q id='VNJps'></q></dir></style></legend>

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

                  <bdo id='VNJps'></bdo><ul id='VNJps'></ul>
                • <small id='VNJps'></small><noframes id='VNJps'>

                  本文介紹了將 PHP 默認(rèn)編碼設(shè)置為 utf-8?的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  在PHP Cookbook"中,他們說(shuō) (p.589) 要將輸出數(shù)據(jù)的字符編碼正確設(shè)置為 utf-8,必須將 default_encoding 配置編輯為 utf-8.

                  In the "PHP Cookbook", they say (p.589) that to properly set the char encoding of outgoing data to utf-8 it is necessary to edit the default_encoding configuration to utf-8.

                  然而,我在php.ini 中找不到這個(gè)配置.我應(yīng)該簡(jiǎn)單地添加一行表示 default_encoding = "utf-8" 嗎?

                  However, I cannot find this configuration in php.ini. Should I simply add a line that would say default_encoding = "utf-8"?

                  我確實(shí)有一個(gè) ;default_charset = "iso-8859-1" .正如你所看到的 (;),現(xiàn)在它沒(méi)有被激活.我應(yīng)該刪除分號(hào)并將其設(shè)置為 "utf-8" 嗎?這會(huì)處理默認(rèn)編碼嗎?

                  I do have a ;default_charset = "iso-8859-1" . As you can see (;), right now it is not activated. Should I remove the semi-colon and set it to "utf-8"? Does that take care of the default encoding?

                  我還發(fā)現(xiàn)了其他我不知道該怎么做的編碼指令:

                  I also found other encoding directives that I don't know what to do about:

                  [iconv]
                  ;iconv.input_encoding = ISO-8859-1
                  ;iconv.internal_encoding = ISO-8859-1
                  ;iconv.output_encoding = ISO-8859-1
                  ...
                  ; http://php.net/exif.encode-unicode
                  ;exif.encode_unicode = ISO-8859-15
                  ...
                  ;mssql.charset = "ISO-8859-1"
                  ...
                  ;exif.encode_unicode = ISO-8859-15
                  

                  有什么理由我不應(yīng)該簡(jiǎn)單地將它們?nèi)刻鎿Q為 utf-8?

                  Is there any reason why I shouldn't simply replace them all with utf-8?

                  推薦答案

                  您應(yīng)該將 default_charset 設(shè)置為 UTF-8:

                  You should set your default_charset to UTF-8:

                  default_charset = "utf-8"
                  

                  (如果 PHP Cookbook 要求您更改 default_encoding,則其中可能有錯(cuò)字 — 我從未聽(tīng)說(shuō)過(guò).)

                  (PHP Cookbook may have a typo in it if they ask you to change the default_encoding — I've never heard of it.)

                  如果您要輸出 UTF-8 編碼的字符,您還需要確保您的網(wǎng)絡(luò)服務(wù)器設(shè)置為輸出 UTF-8.在 Apache 中,這可以在 httpd.conf 文件中設(shè)置:

                  You'll also want to make sure that your webserver is set to output UTF-8 if you're going to outputting UTF-8 encoded characters. In Apache this can be set by in the httpd.conf file:

                  AddDefaultCharset UTF-8
                  

                  至于修改iconvexifmssql編碼設(shè)置,你可能不需要設(shè)置這些(你的設(shè)置有這些無(wú)論如何都被注釋掉了)但無(wú)論如何將它們?nèi)扛臑?UTF-8 是個(gè)好主意.

                  As for modifying the iconv, exif, and mssql encoding settings, you probably don't need to set these (your settings have these commented out anyhow) but it's a good idea to change them all to UTF-8 anyhow.

                  這篇關(guān)于將 PHP 默認(rèn)編碼設(shè)置為 utf-8?的文章就介紹到這了,希望我們推薦的答案對(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)文檔推薦

                  MySQLi prepared statement amp; foreach loop(MySQLi準(zhǔn)備好的語(yǔ)句amp;foreach 循環(huán))
                  Is mysqli_insert_id() gets record from whole server or from same user?(mysqli_insert_id() 是從整個(gè)服務(wù)器還是從同一用戶獲取記錄?)
                  PHP MySQLi doesn#39;t recognize login info(PHP MySQLi 無(wú)法識(shí)別登錄信息)
                  mysqli_select_db() expects exactly 2 parameters(mysqli_select_db() 需要 2 個(gè)參數(shù))
                  Php mysql pdo query: fill up variable with query result(Php mysql pdo 查詢:用查詢結(jié)果填充變量)
                  MySQLI 28000/1045 Access denied for user #39;root#39;@#39;localhost#39;(MySQLI 28000/1045 用戶“root@“l(fā)ocalhost的訪問(wèn)被拒絕)

                      <legend id='F40sh'><style id='F40sh'><dir id='F40sh'><q id='F40sh'></q></dir></style></legend>
                        <bdo id='F40sh'></bdo><ul id='F40sh'></ul>
                        • <small id='F40sh'></small><noframes id='F40sh'>

                            <tfoot id='F40sh'></tfoot>
                            <i id='F40sh'><tr id='F40sh'><dt id='F40sh'><q id='F40sh'><span id='F40sh'><b id='F40sh'><form id='F40sh'><ins id='F40sh'></ins><ul id='F40sh'></ul><sub id='F40sh'></sub></form><legend id='F40sh'></legend><bdo id='F40sh'><pre id='F40sh'><center id='F40sh'></center></pre></bdo></b><th id='F40sh'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='F40sh'><tfoot id='F40sh'></tfoot><dl id='F40sh'><fieldset id='F40sh'></fieldset></dl></div>
                              <tbody id='F40sh'></tbody>
                            主站蜘蛛池模板: 欧产日产国产精品视频 | www.伊人.com| 成人高清网站 | 欧美黄色片| 黄色一级大片在线免费看产 | 成人在线免费视频 | 久久久久国产一级毛片高清网站 | 99国产精品99久久久久久粉嫩 | 国产三级网站 | 久久久爽爽爽美女图片 | 日韩精品无码一区二区三区 | 亚洲精品视频免费观看 | 青青草免费在线视频 | 九九热免费在线观看 | 五月精品视频 | 日韩aⅴ视频 | 日本又色又爽又黄又高潮 | 国产在线观看不卡一区二区三区 | 激情婷婷| 欧美精品a∨在线观看不卡 国产精品久久国产精品 | 一区网站 | 久草视频观看 | 一区二区三区在线播放 | 91porn国产成人福利 | 亚洲精品中文字幕在线观看 | 久久精品中文字幕 | 久久精品国产久精国产 | 久久成人综合 | 欧美天堂一区 | 亚洲 精品 综合 精品 自拍 | 成人精品福利 | 久久99精品视频 | 欧美大片久久久 | 中文字幕一区二区三区四区 | 色视频成人在线观看免 | 欧洲精品码一区二区三区免费看 | 久久久久久国产精品 | 黄网免费| 国产精品免费小视频 | 成年人在线观看 | 日日碰碰 |