Characters “ي” and “ی” and the difference in persian - Mysql

前端 未结 8 1177
忘掉有多难
忘掉有多难 2020-12-23 19:56

I\'m working on a UTF-8 Persian website with integrated mysql database. All the content in the website are imported through an admin panel and it\'s all persian.

As

8条回答
  •  旧时难觅i
    2020-12-23 20:06

    This is called a collation. It's what MySQL uses to compare two different characters. I'm afraid I don't know anything about persian or arabic, but the concept is the same. Essentially you've got two characters which map to the same base value. You need to find a collation which maps ي to ی. I'm afraid that's as helpful as I can be without knowing more about the language.

提交回复
热议问题