質問

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