taskwarrior icon indicating copy to clipboard operation
taskwarrior copied to clipboard

[TW-1837] Search for chinese character failed on cygwin windows

Open taskwarrior opened this issue 7 years ago • 3 comments

Henry Tang on 2016-08-01T11:33:16Z says:

For example:

Henry(at)Henry-Laptop ~ $ task add 中文测试zzz Created task 107.

Henry(at)Henry-Laptop ~ $ task 107 No command specified - assuming 'information'.

Name Value ID 107 Description 中文测试zzz Status Pending Entered 2016-08-01 19:33:50 (3 seconds) Last modified 2016-08-01 19:33:50 (3 seconds) Virtual tags PENDING READY UNBLOCKED UUID 2bd22298-d4f5-4c46-860f-58366248d92e Urgency 0

Henry(at)Henry-Laptop ~ $ task 中 [task next description ~ '中'] brackets ([ ]) not balanced

taskwarrior avatar Feb 14 '18 19:02 taskwarrior

Migrated metadata:

Created: 2016-08-01T11:33:16Z
Modified: 2017-01-16T20:24:28Z

taskwarrior avatar Feb 14 '18 19:02 taskwarrior

Paul Beckingham on 2017-01-16T20:14:59Z says:

Added (disabled) tw-1837.t

Interestingly this works from the Linux CLI, and fails in Python unit test form.

taskwarrior avatar Feb 14 '18 19:02 taskwarrior

The latest version 2.6.2 still has this bug. When

search.case.sensitive=no

then any search with Chinese characters will results in bracket problems.

if you search with

task '[中文]'

Then any task in Chinese will show up, instead of just those with '中文'.

Any method that one can go around it?

AnabasisXu avatar Oct 05 '22 07:10 AnabasisXu