Last Comment Bug 11659 - Need i18n support for filter/search backend
: Need i18n support for filter/search backend
[nsbeta2+]Exception Feature [FEATURE]
Product: MailNews Core
Classification: Components
Component: Internationalization (show other bugs)
: Trunk
: All All
P3 normal (vote)
: M17
Assigned To: Alec Flett
: Katsuhiko Momoi
Depends on:
Blocks: 14744 35851
  Show dependency treegraph
Reported: 1999-08-11 14:40 PDT by nhottanscp
Modified: 2008-07-31 01:22 PDT (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image nhottanscp 1999-08-11 14:40:00 PDT
The current back end is not i18n ready (e.g. old converter should be replaced
by the new one etc..).
Please put appropriate target mile stone, thanks.
Comment 1 User image nhottanscp 2000-03-24 10:09:00 PST
I summarized i18n requirement in a document below. mail search 

Header search 

MIME decode and charset conversion for headers - 
search term is now unicode (used to be a folder charset), 
we should compare it against MIME decoded and unicode converted header strings. 

Body search 

4.x implementation:  
    converts body text to win_csid. - no need to support this in mozilla 
proposal for mozilla: 
    convert body text to unicode. 
    QP decode for body (plain and HTML) 
    Entity (CER) and NCR decode for HTML body 
Comment 2 User image Scott MacGregor 2000-04-04 16:17:02 PDT
triaging since M15 is tonight. Not an M15 stoppper.
Comment 3 User image nhottanscp 2000-04-13 17:12:30 PDT
Putting beta2 for i18n beta2 criteria items. Contact bobj for question.
Comment 4 User image leger 2000-04-27 18:10:41 PDT
Putting on [nsbeta2+] radar.  Need to fix by 5/16...+ for i18n search at least 
as good as 4.x.
Comment 5 User image selmer (gone) 2000-05-11 16:45:23 PDT
Mass moving M16 to M17 - look for nsbeta2 before anything else.
Comment 6 User image leger 2000-05-31 10:44:21 PDT
Removing [nsbeta2+][5/16]... is this mandatory for I18n RTM?
Comment 7 User image nhottanscp 2000-05-31 10:49:25 PDT
yes, the user should be able to search messages, this is supported in 4.x.
Comment 8 User image bobj 2000-05-31 11:15:56 PDT
Yes, searching and filtering of non-ASCII is mandatory.
This would be a major regression from previous releases.
Comment 9 User image leger 2000-05-31 13:45:23 PDT
On exception list for PR2, removing 5/ [nsbeta2+]Exception Feature 
Comment 10 User image Alec Flett 2000-06-07 23:41:33 PDT
I just landed a TON of internationalization work to search and filters
yesterday, so I'm going to take this bug and mark it fixed... I think further
i18n issues should be taken up on exception by exception basis.

Comment 11 User image Alec Flett 2000-06-07 23:41:59 PDT
adding mscott back to the CC and marking fixed.
Comment 12 User image Katsuhiko Momoi 2000-06-08 00:42:31 PDT
Alec, can I proceed on the assumption that specs mentioned in 2000-03-24 10:09 commet have been 

Also what is working at FE?

1. Search/Find in msgs
2. IMAP search
3. Local Folder search
4. Filtering incoming msgs
Comment 13 User image Alec Flett 2000-06-08 00:49:12 PDT
yes, I think everything nhotta describes is implemented, or at least I've seen 
the code to do everything that is described.

The FE should at least be able to spit things to the screen in the next day or 
Comment 14 User image Alec Flett 2000-06-08 00:52:06 PDT
oh, and to comment on your list:
1) done using the same technique as the browser. But this has nothing to do with 
search/filters, so let's not include that in this bug.`
2) I don't think this is completely implemented
3) bienvenu says this is now working
4) filters should now be i18n friendly. There may be an issue with migrated 
filters from 4.x though, because I'm assuming filter values are encoded in utf8, 
and I think the 4.x filters were in the system charset. I have a seperate bug on 
that though.
Comment 15 User image Alec Flett 2000-06-08 10:43:11 PDT
*** Bug 5933 has been marked as a duplicate of this bug. ***
Comment 16 User image Katsuhiko Momoi 2000-08-02 22:03:12 PDT
** Checked with 8/2/2000 Win32 M17 build **

OK. I'm going to mark this verified as fixed
though I believe that there might be several things not 
working with search or filter i18n-wise. 
We have filed some bugs and we should file others as needed.

Basic IMAP search is working -- header and body.
Basic Local Folder search seems to be working for headers only.
Basif filter -- this depends on the day. Today it does even work
   for Enlgish. I trust that someone has filed a bug for this.

Note You need to log in before you can comment on or make changes to this bug.