Bug 66770 - find Chinese characters when searching with Latin Pinyin transliteration
Summary: find Chinese characters when searching with Latin Pinyin transliteration
Status: RESOLVED FIXED
Alias: None
Product: SyncEvolution
Classification: Unclassified
Component: PIM Manager (show other bugs)
Version: 1.3.99.3
Hardware: Other All
: medium normal
Assignee: Patrick Ohly
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-10 12:14 UTC by Patrick Ohly
Modified: 2013-11-28 16:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Patrick Ohly 2013-07-10 12:14:50 UTC
Depending on user expectations and UI it may make sense to allow entering search text as Latin and matching it against strings using Chinese characters. Details to be decided.
Comment 1 Patrick Ohly 2013-11-28 16:10:13 UTC
Resolved with the following commit, included in the 1.3.99.6 pre-release from November:

commit 1043dbf9eb26fc538fb41cc7e21bc20ceaa8b25f
Author: Patrick Ohly <patrick.ohly@intel.com>
Date:   Tue Oct 1 09:25:45 2013 +0200

    PIM: accent-insensitive and transliterated search (FDO #56524)
    
    Accent-insensitive search ignores accents, using the same code as in
    EDS.  Transliterated search ignores foreign scripts by transliterating
    search term and contact properties to Latin first. That one is using
    ICU directly in the same way as EDS, but doesn't use the EDS
    ETransliterator class to avoid extra string copying.
    
    This commit changes the default behavior such that searching is by
    default most permissive (case- and accent-insensitive, does
    transliteration).  Flags exist to restore more restrictive matching.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.