Signal-android: Upper- and lowercase accentuated characters are considered different when searching for a contact

Created on 15 Jan 2020  路  4Comments  路  Source: signalapp/Signal-Android

  • [x] I have searched open and closed issues for duplicates

Bug Description

As in the title : when either searching for a term in a conversation, or a recipient to send a message to, accentuated uppercase charactres (e.g. "脡") are considered different than the same accentuated but lowercase character (e.g. "茅").

Language is french.

Steps to Reproduce

  1. Open Signal
  2. Tap the "Search field"
  3. Type (for instance) "茅ric"

Actual Result:

My contact "脡ric" is not shown.

Expected Result:

My contact "脡ric" is shown.
I need to explicitely type "脡ric" (or "脡RIC", or any other upper/lowercase combination except for "脡")
Also, typing "eric" or "Eric" or "ERIC" (etc.) should also display "脡ric".

Screenshots

Platform Info

Signal Version:

Signal 4.52.4
Not sure about Signal Desktop.

Operating System:

Android 9 (LineageOS 16)

Linked Device Version:

Link to Debug Log

Most helpful comment

Hello,
Is there a chance to intergrate this fix into the search system ?
It will improve A LOT the usability in french (at least)
Thanks !

All 4 comments

This must have to do with SQLite. As it says here https://www.sqlite.org/lang_expr.html#like

SQLite only understands upper/lower case for ASCII characters by default. The LIKE operator is case sensitive by default for unicode characters that are beyond the ASCII range. For example, the expression 'a' LIKE 'A' is TRUE but '忙' LIKE '脝' is FALSE.

TL;DR is that search is case sensitive for non-ASCII characters.

This bug occurs for any non-ASCII search term, breaking search in most non-English languages. Seeing the same with non-accented characters.

Hello,
Is there a chance to intergrate this fix into the search system ?
It will improve A LOT the usability in french (at least)
Thanks !

I tried to notify dev who closed this MR so he can integrate this as well:

https://github.com/signalapp/Signal-Android/pull/9692#issuecomment-727223772

Indeed, that would make contact search much more usable in french (and any language with accented names).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

5boro picture 5boro  路  3Comments

hiredgunhouse picture hiredgunhouse  路  3Comments

jult picture jult  路  3Comments

FeuRenard picture FeuRenard  路  3Comments

j3fffff picture j3fffff  路  3Comments