We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16702 ☆ A M B ☆
    • 536 Posts
    Hello,

    i have "serious" problem with AjaxSearch.
    I wanna search "Cyrillic words" but answer from AjaxSearch is "There were no search results. Please try using more general terms to get more results."
    For example look this: http://dental.informator.org try to search some Cyrillic word...
    My mySQL is UTF-8, and i make this http://wiki.modxcms.com/index.php/De:MODx_f%C3%BCr_den_Betrieb_unter_UTF-8_einrichten but are not effect.

    // Sorry for my bad English smiley
      palma non sine pulvere
      • 1511
      • 144 Posts
      The issue could be the format of the text written in the database.
      If the text is converted to html entities or otherwise changed (by RichTextEditor or the snippet), the search will not find it.

      I have a similar problem with some special characters converted that the search does not find.
      One option is to set your RTE to store the data in "raw" format instead of entities.
      The other one would be to set your database connection and table collation and charset to the same as the input text is -> try cyrillic.

      I don’t know, just guessing. If you can, check in what format the data is stored in your database.
        • 16702 ☆ A M B ☆
        • 536 Posts
        Hello,

        my connection with mySQL is UTF-8 and MySQL connection collation is ’utf8_general_ci’, table collation is ’utf8_general_ci’:
        / http://wiki.modxcms.com/index.php/De:MODx_f%C3%BCr_den_Betrieb_unter_UTF-8_einrichten /



        When i search latin words AjaxSearch return result:


        I make RTE in "raw" but it has no effect on him...

        There are another snippet for Search? I search in resources but not beheld.

        Thank you!
          palma non sine pulvere
          • 4567
          • 5 Posts
          Same problem. I resolved it by disabling ajax . So, problem is not in the encoding of the database, RTE and modx, but in search script. If someone have replacement of Ajaxsearch with better search please post it.
            • 4599
            • 3 Posts
              ERRARE HUMANUM EST , PERSEVERE DIABOLICUM ~ C’est pas parce qu’ils sont nombreux