B
B
blackbb2018-01-28 19:01:57
PostgreSQL
blackbb, 2018-01-28 19:01:57

Why doesn't istartwith work with Cyrillic in Postgresql?

If in English, then everything is fine, it finds both capital and small letters. Russian names, only with a large one (by default, I have them with a large one).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-01-29
@blackbb

It looks like the wrong collation was set when the DB was created . Recreate the database with ru_RU locale and UTF-8 encoding.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question