Kunzisoft / KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.
https://www.keepassdx.com/
GNU General Public License v3.0
4.32k stars 261 forks source link

The search function is not friendly to Chinese support #971

Closed Vstory closed 3 years ago

Vstory commented 3 years ago

Describe the bug The search function is not friendly to Chinese support.

To Reproduce Steps to reproduce the behavior:

  1. Unlock the database
  2. Click on the search box and enter "领英"
  3. Search results do not show entries containing "领英"

Expected behavior The target item is searched normally.

KeePass Database

KeePassDX:

Android:

Additional context

Snipaste_DSoftwareKeePassKeePass-dataVisx - 数据库 kdbx - KeePass_2021-04-29_12-42-54

image image

J-Jamet commented 3 years ago

OK, thank you for the feedback, I think the problem is with the flatten method, I'll change it to see if it works in a non-Latin alphabet. https://github.com/Kunzisoft/KeePassDX/blob/master/app/src/main/java/com/kunzisoft/keepass/utils/StringUtil.kt

Vstory commented 3 years ago

OK, thank you for the feedback, I think the problem is with the flatten method, I'll change it to see if it works in a non-Latin alphabet. https://github.com/Kunzisoft/KeePassDX/blob/master/app/src/main/java/com/kunzisoft/keepass/utils/StringUtil.kt

Ok. Thank you!

J-Jamet commented 3 years ago

KeePassDX-2.9.20_TestA.zip

Can you tell me if this package solved your problem?

Vstory commented 3 years ago

KeePassDX-2.9.20_TestA.zip

Can you tell me if this package solved your problem?

The results can be searched, but a significant delay can be felt.

J-Jamet commented 3 years ago

OK, that's what I thought, so I'll remove the accent removal feature , it takes too much time and can't be implemented without having a side effect. #945