We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3363
    • 12 Posts
    Hi everyone,

    I have a modx site in Turkish, however, when i search a word in search box, it shows the results in a strange charset (i think ASCII). I want it shows in UTF-8 charset (I mean it makes proper to Turkish alphabet.) How can i manage this? Thanks for your regards.
      • 3363
      • 12 Posts
      any idea?
        • 5811
        • 1,717 Posts
        Which search snippet do you use ? AjaxSearch or HyperFlexSearch ? and which version ?

        What is the charset of your database ? could you check the variable $database_connection_charset in the file manager/includes/config.inc.php line 9. This variable should be initialized with the value ’utf8’ like this :
        $database_connection_charset = 'utf8';

          • 3363
          • 12 Posts
          It does not solve the problem instead, it damaged my own site characters. I think my web uses latin1 charset. I tried ’latin1’ but it is useless. In fact i want to remove Ajaxsearch with Google Search Engine with Adsense. I put the code from Google where the Ajaxsearch code is. But It wasn’t shown the same place with Ajaxsearch. It was seen on the left corner of the template. Can you help me what to do? Thanks for your regards. By the way I use ModxHost template. And my Modxcms is the latest version.
            • 5811
            • 1,717 Posts
            Can you help me what to do?
            Sorry but I have few time available and my priorities are to improve and fix AjaxSearch.