comparing strings in PostgreSQL

后端 未结 2 1057
花落未央
花落未央 2021-01-25 16:44

Is there any way in PostgreSQL to convert UTF-8 characters to \"similar\" ASCII characters?

String glāžšķūņu rūķīši would have to be converted to glaz

2条回答
  •  无人及你
    2021-01-25 17:47

    Use pg_collkey() for ICU supported unicode compare: - http://www.public-software-group.org/pg_collkey - http://russ.garrett.co.uk/tag/postgresql/

提交回复
热议问题