문제

I've seen Horde's address book application that delivers matches very nicely for searches that do not have the correct characters. For example if searching for 'Garcon' the entry with 'Garçon' is delivered. Or a search for 'Tugla' does also deliver 'Tuğla'. I wonder if this is own code or can Mysql handle this. If yes, how can this be achieved.

도움이 되었습니까?

해결책

Setting the collation to the appropriate setting (in your case, probably uft8_turkish_ci) will affect which characters are considered equal. I'm fairly sure that with that collation Turkish characters will be equal to their equivalents, but I haven't had much experience in testing this fact - just going by what I read on the MySQL manual site.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top