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

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

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

      <tfoot id='dmpRu'></tfoot>
          <bdo id='dmpRu'></bdo><ul id='dmpRu'></ul>

        MySQL變音符號不敏感搜索(阿拉伯語)

        MySQL diacritic insensitive search (Arabic)(MySQL變音符號不敏感搜索(阿拉伯語))
        <legend id='yrJA2'><style id='yrJA2'><dir id='yrJA2'><q id='yrJA2'></q></dir></style></legend>
        • <bdo id='yrJA2'></bdo><ul id='yrJA2'></ul>
          • <small id='yrJA2'></small><noframes id='yrJA2'>

              <tbody id='yrJA2'></tbody>

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

                  <tfoot id='yrJA2'></tfoot>
                  本文介紹了MySQL變音符號不敏感搜索(阿拉伯語)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我無法使用阿拉伯文本進行變音符號不敏感搜索.

                  I have trouble making a diacritic insensitive search with arabic text.

                  我已經為相關表測試了多種設置:utf8 和 utf16 中的編碼以及 utf8_general_ci、utf16_general_ci 和 utf16_unicode_ci 中的排序規則.

                  I have tested multiple setups for the table in question: encodings in utf8 and utf16 as well as collations in utf8_general_ci, utf16_general_ci and utf16_unicode_ci.

                  該搜索適用于 ?? 特殊字符.即:

                  The search works for ?? special characters. I.e:

                  select * from test where text like '%a%'
                  

                  將返回文本為 a、? 或 ? 的列.但它不適用于阿拉伯語變音符號.即,如果文本是 ?????? 并且我搜索 ???,我沒有得到任何點擊.

                  Would return columns where text is a, ? or ?. But it won't work with the Arabic diacritics. I.e if the text is ?????? and I search for ???, I don't get any hits.

                  任何想法如何通過這個?

                  Any ideas how to get pass this?

                  真正的用途稍后將是 PHP(一個搜索功能),但我直接在 MySQL 數據庫中工作,只是為了在將其移植到 PHP 之前進行測試.

                  The real usage will later be PHP (a search function), but I'm working directly in the MySQL db just for testing before I port it over to PHP.

                  (來自評論)

                  CREATE TABLE test (
                      ? id int(11) unsigned NOT NULL AUTO_INCREMENT,
                      ? text text COLLATE utf8_unicode_ci,
                      ? PRIMARY KEY (id)?
                  ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci 
                  

                  推薦答案

                  (這不是答案",而是解決方案".)

                  (This is not an "answer", but a "resolution".)

                  LIKE 似乎不適用于您的阿拉伯語字符串.我不知道它失敗了多少.我建議您在 http://bugs.mysql.com 上編寫錯誤報告.這是一個測試用例,表明 LIKE '...'LIKE '%...%' 都找不到兩個字符串,而 '=' 有效:

                  It seems that LIKE does not work with your Arabic string. I don't know how much more it fails on. I recommend you write a bug report at http://bugs.mysql.com . Here is a test case that shows that neither LIKE '...' nor LIKE '%...%' finds both strings, whereas '=' works:

                  CREATE  TABLE so28863402 (
                      id int(11) unsigned NOT NULL AUTO_INCREMENT,
                      txt text COLLATE utf8_unicode_ci,   -- deliberate choice of COLLATION
                      PRIMARY KEY (id)
                  ) ENGINE=InnoDB
                          DEFAULT CHARSET=utf8;
                  INSERT INTO so28863402 (txt) VALUES
                      (UNHEX('D8A8D990D8B3D992D985D990')),  -- Using hex to avoid any copy/paste issues
                      (UNHEX('D8A8D8B3D985'));  -- The values should compare equal
                  SELECT id, txt, HEX(txt) FROM so28863402;
                  SELECT txt, COUNT(*) FROM so28863402 GROUP BY txt; -- GROUP BY finds them equal.
                  SELECT * from so28863402
                      WHERE txt = '???';   -- Finds both rows (correct)
                  SELECT * from so28863402
                      WHERE txt LIKE '%???%';  -- Finds one row (incorrect)
                  -- Further checks:
                  SELECT * FROM so28863402 WHERE txt  =   UNHEX(  'D8A8D8B3D985'  );
                  SELECT * FROM so28863402 WHERE txt LIKE UNHEX(  'D8A8D8B3D985'  );
                  SELECT * FROM so28863402 WHERE txt LIKE UNHEX('25D8A8D8B3D98525'); -- x25 is '%'
                  

                  這篇關于MySQL變音符號不敏感搜索(阿拉伯語)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數根據 N 個先前值來決定接下來的 N 個行)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達式的結果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數的 ignore 選項是忽略整個事務還是只是有問題的行?) - IT屋-程序員軟件開發技
                  Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時出錯,使用 for 循環數組)
                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調用 o23.load 時發生錯誤 沒有合適的驅動程序)
                  How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數據庫表作為 Spark 數據幀讀取?)
                1. <small id='PJFAN'></small><noframes id='PJFAN'>

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

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

                          1. 主站蜘蛛池模板: 中文字幕 国产 | 国产精品成人一区二区三区吃奶 | 日韩亚洲视频 | 中文字幕人成乱码在线观看 | 成人久久久 | 一区在线播放 | 自拍偷拍第一页 | 亚洲精品久久久久久久久久久久久 | 亚洲国产欧美日韩 | 伊人超碰 | 亚洲精品中文字幕 | 性色av网站 | 色伊人 | 国产在线精品一区二区 | 91嫩草精品 | 日韩一区二区三区在线观看 | 欧美精品久久久久久 | 日韩播放 | 日本a网站| 欧美综合一区二区三区 | 国产精品一区二区三区久久久 | 亚洲午夜精品视频 | 欧美国产日韩在线观看 | 伊人色综合久久久天天蜜桃 | 国产91久久久久蜜臀青青天草二 | 精品国产乱码一区二区三 | 国精产品一区二区三区 | 亚洲性综合网 | 人人干人人干人人 | 欧美日韩中文在线 | 人人干人人超 | 日韩免费看视频 | 欧美8一10sex性hd | 天天摸天天干 | 国产乱码久久久久久 | 久久99精品久久久 | 欧美成人精品一区二区三区 | 久久专区 | 亚洲字幕在线观看 | 亚洲欧美一区二区三区国产精品 | 日本精品一区二区三区在线观看 |