I have a query that uses dynamic([c], ilike(c.email, ^term))
to search for customers by fuzzy searching on email, but ecto/postgres is throwing the following error for queries that include the german umlaut ü with the following message.
** (Postgrex.Error) ERROR 22021 (character_not_in_repertoire) invalid byte sequence for encoding "UTF8": 0xc3 0x25
(ecto_sql 3.11.3) lib/ecto/adapters/sql.ex:1054: Ecto.Adapters.SQL.raise_sql_call_error/1
This is my db encoding config
Has anyone seen / solved this before ?
Any help would be much appreciated!