From 528c75ab35b915b574b4977b8d19412b69845d26 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 4 Sep 2012 20:03:33 +0000 Subject: =?UTF-8?q?bug=202735:=20fix/improve=20non=20latin=20language=20ta?= =?UTF-8?q?gs=20a.=20non=20latin=20tags=20(greek/cyrillic...)=20are=20not?= =?UTF-8?q?=20sorted=20case-insesitive=20and=20group=20by=20letter=20view?= =?UTF-8?q?=20in=20tag=20list=20is=20not=20case=20insesitive=20b.=20quick?= =?UTF-8?q?=20searching=20tag=20names=20does=20not=20perform=20correctly?= =?UTF-8?q?=20accent=20folding=20(e.g.=20K=C3=B6ln=20and=20Koln=20do=20not?= =?UTF-8?q?=20match)=20and=20case=20insesitivity=20for=20non=20latin=20let?= =?UTF-8?q?ters=20c.=20missing=20from=20remove=5Faccents=20characters=20in?= =?UTF-8?q?=20romanian=20language=20(Latin=20Extended-B)=20=20=20=3F=20c8?= =?UTF-8?q?=2098=20=3D=20LATIN=20CAPITAL=20LETTER=20S=20WITH=20COMMA=20BEL?= =?UTF-8?q?OW=20=20=20=3F=20c8=2099=20=3D=20LATIN=20SMALL=20LETTER=20S=20W?= =?UTF-8?q?ITH=20COMMA=20BELOW=20=20=20=3F=20c8=209a=20=3D=20LATIN=20CAPIT?= =?UTF-8?q?AL=20LETTER=20T=20WITH=20COMMA=20BELOW=20=20=20=3F=20c8=209b=20?= =?UTF-8?q?=3D=20LATIN=20SMALL=20LETTER=20T=20WITH=20COMMA=20BELOW=20d.=20?= =?UTF-8?q?str2url=20allow=20non=20latin=20letters=20in=20output=20only=20?= =?UTF-8?q?if=20the=20input=20does=20not=20contain=20any=20valid=20lating?= =?UTF-8?q?=20letter/digit.=20we=20should=20always=20allow=20non=20latin?= =?UTF-8?q?=20letters=20in=20output?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://piwigo.org/svn/trunk@17748 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_search.inc.php | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'include/functions_search.inc.php') diff --git a/include/functions_search.inc.php b/include/functions_search.inc.php index f25cd4670..db54dc767 100644 --- a/include/functions_search.inc.php +++ b/include/functions_search.inc.php @@ -266,21 +266,6 @@ SELECT DISTINCT(id) } -if (function_exists('mb_strtolower')) -{ - function transliterate($term) - { - return remove_accents( mb_strtolower($term) ); - } -} -else -{ - function transliterate($term) - { - return remove_accents( strtolower($term) ); - } -} - function is_word_char($ch) { return ($ch>='0' && $ch<='9') || ($ch>='a' && $ch<='z') || ($ch>='A' && $ch<='Z') || ord($ch)>127; -- cgit v1.2.3