Hello,
I am developing a project using PostgreSQL as the database and Laravel Filament for the admin panel. Special characters (such as İ, ı, Ş, ş, Ğ, ğ, Ü, ü, etc.) are stored and queried correctly in the database. However, I am facing issues when searching with these special characters on the Filament front-end.
Issue Details:
Database: PostgreSQL
Character Set: UTF-8
Collation: tr_TR.UTF-8 (Supports special characters)
Filament Version: 3.x
For example, in my branches table, I have the following records:
id name
1 Şeker
When using Filament's Select or Searchable feature:
->searchable()
If I type eker, the record Şeker is returned.
However, if I type Şeker (with the capital Ş), no results are found.
The same issue occurs with other special characters:
Characters like Ş, Ü, Ğ, Ç, Ö cannot be used in searches.
If I am going to customize the query in each searchable section, it means hundreds of changes.
Is there a way to fix this in general?