stephencelis/SQLite.swift

Like does not work with Russian symbols? (ICU support)

Open

#1,025 opened on 2020年10月8日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)Swift (10,145 stars) (1,618 forks)batch import
help wantedquestion

説明

Hello. I use like with lowercaseString and Russian symbols but LOWER doesn't convert them to lowercase in the query. I tried to create my own function but it didn't work for me. How to solve this problem? Thanks.

// in name value: ПРИВЕТ from database let search_name = "Привет" user.filter(name.lowercaseString.like("%" + search_name.lowercased() + "%"))

コントリビューターガイド

Like does not work with Russian symbols? (ICU support) · stephencelis/SQLite.swift#1025 | Good First Issue