<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                問 題 我使用PHP庫生成XML如下: $ dom = new DOMDocument(“1.0”,“utf- 8“); 執行以上操作會在輸出的頂部顯示一條消息。 此頁面包含以下錯誤: 錯誤在第16行在列274505:PCDATA無效的字符值27 下面是一個頁面的渲染,第一個錯誤。** 我已經嘗試使用Tidy庫糾正。使用iconv獲取UTF-8中的中文字符。 解決方案 > 在本網站建議一個有用的功能來擺脫這個錯誤。 > [http://www.phpwact.org/php/i18n/charsets#common_problem_areas_with_utf8](http://www.it1352.com/"http://www.phpwact.org/php/i18n/charsets#common_problem_areas_with_utf-8\") 當你將utf-8編碼的字符串放在一個XML文檔中時,你應該記住,并非所有utf-8有效字符都是已在XML文檔中接受 [http://www.w3.org/TR/REC-xml/#charsets](http://www.it1352.com/"http://www.w3.org/TR/REC-xml/#charsets\") 所以你應該去掉不需要的字符,否則你會有一個XML致命的解析錯誤,如下面 ``` function utf8_for_xml($ string) { return preg_replace('/[^\x{0009}\x{000a}\x{000d}\x{0020}-\x{D7FF}\x{E000}-\x{FFFD}]+/u','',$ string); } ``` 希望節省別人一些時間..
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看