Support » Plugin: custom tables » [custom tables] Search dosn`t work with polish letter

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stefan M.

    (@stefan-m-1)

    Hi
    Are these letters available in UTF8 Charset?

    Have you tried to set the correct Charset under settings?

    If that doens’t help, make a ticket on the webpage wuk-custom-tables.com and I will try to fix it.

    Regards

    Yes, I usualy use UTF8 for polish char and it work fine.

    I set Charset to UTF8 in database and converted plugin file form ASCII to UTF8 and it didn`t work. Now i use simple solution:

    $polish  = array("Ę" => "E","Ó" => "O", "Ą" => "A", "Ś" => "S", "Ł" => "L", "Ż" => "Z", "Ź" => "Z", "Ń" => "N" ,"ę" => "e", "ó" => "o", "ą" => "a", "ś" => "s", "ł" => "l", "ż" => "z", "ź" => "z", "ć" => "c", "ń" => "n");
    			$_GET['wctx'] = strtr($_GET['wcts'], $polish);
    
    			$searchqry = ($_GET['wcts'] != '' ? $_GET['wctx'] : $_GET['s']);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[custom tables] Search dosn`t work with polish letter’ is closed to new replies.