How to amend sub strings?

后端 未结 2 1230
北海茫月
北海茫月 2021-01-17 02:25

Using collation xxx_german2_ci which treats ü and ue as identical, is it possible to have all occurences of München be hi

2条回答
  •  南方客
    南方客 (楼主)
    2021-01-17 03:00

    I have found this tables: http://developer.mimer.com/collations/charts/index.tml. They are, of course, landuage dependant. Collation is just comapring algorithm. For general utf8 I am not sure, how it treats special characters.

    You can use them to found desired symbols and replace them in output to get same result as in example. But for those, you will need some programming language (PHP or anything else).

    Another resources:

    http://collation-charts.org/

    http://mysql.rjweb.org/doc.php/charcoll (down on the page)

    Basicly, try to google "collation algorithm mysql utf8_general_ci" or something like this

提交回复
热议问题