realm / realm-js

Realm is a mobile database: an alternative to SQLite & key-value stores
https://realm.io
Apache License 2.0
5.75k stars 570 forks source link

react-native case insensitive search filter (cyrillic) #6039

Open lekbit opened 1 year ago

lekbit commented 1 year ago

How frequently does the bug occur?

Always

Description

react-native realm insensitive only works with English.

draw - ✓
DRAW - ✓
drAW - ✓

тЯнуть - ✓
тянуть - Х
ТЯНУТЬ - Х

https://github.com/realm/realm-js/assets/132438817/4f77e2f9-c505-4a1d-97a4-22a90e121de2

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

realm().objects('Word').filtered('russian_word CONTAINS[c] "тянуть" ');

Version

23.1.7

What services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

android

Build environment

Which debugger for React Native: ..

Cocoapods version

No response

kneth commented 1 year ago

It is currently not supported, and we are blocked by https://github.com/realm/realm-core/issues/777