<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ![](https://img.kancloud.cn/67/0f/670f35cee348aa0a4fbb6dd5088815ba_1235x719.png) ``` var M:TMemoryStream; sHtml:string; begin M:=TMemoryStream.Create; // idhttp1 如上圖設置 // 獲取 https 網頁,需要兩個dll , libeay32.dll 與 ssleay32.dll 放入 exe 同目錄 // 這兩個dll可以從此目錄找到 C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\subversion sHmtl:= Idhttp1.Get('www.xxx.com'); // 新版delphi (D11.0版本) 的 idhttp1 已經比較智能了, // 能正確解碼 gzip , 也能正確解碼 utf8 , shtml 中的結果為正確 Idhttp1.Get('www.xxx.com',M); // 如遇服務器給的結果不規范,就要自己手工去處理 M 中的內容。 // 此時 M 中的數據就是原始數據 注意是否解壓 GZIP // 從 rs232 com 組件接收事件取到的數據,是原始數據。 end; ``` 取到原始數據,不要存入 string ,char 要存入 TMemoryStream, array of byte , TBytes , RawByteString 中。 **原始不要從 string , char 過路,過橋,不要用 char 與 string 去容納取到的數據。** function Utf8ToString(R:RawByteString):String; // 這才將 utf8 轉成 string 的正確函數(之一) **如果你知道取的數據是 utf8 格式,可以用 TStringStream ,但一定要真正理解 TStringStream 的用法,否則,照樣上當受騙。**
                  <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>

                              哎呀哎呀视频在线观看