On Tue, Aug 27, 2002 at 10:51:23AM -0700, Mark Crispin wrote:
> On Tue, 27 Aug 2002, Jochen Garcke wrote:
> > I have a problem using mail_search for mails with umlauts in From,
> > Subject or so... See the following IMAP output:
> >
> > 00000077 SEARCH CHARSET ISO-8859-1 ALL SENTON 13-Mar-2002 FROM "XXXX 
><[EMAIL PROTECTED]>" TO "[EMAIL PROTECTED] (Jochen Garcke)" SUBJECT "Re: 
>=?iso-8859-1?Q?Komplexit=E4t_des_Einf=FCge?="
> > * SEARCH
> > 00000077 OK SEARCH done.
> 
> The problem is that you are giving a MIME encoded-word as the text for the
> SUBJECT search.
> 
> You need to give an 8-bit string in the character set identified by the
> CHARSET after SEARCH.

I assumed that I could use the subject which I get via e.g. 
mail_fetchenvelope or mail_fetchheader, which the above is, 
for a search via mail_search. 
So that is not the case ?

Is there an easy way to convert the above into an 8-bit string ?

Thanks,
  Jochen

-- 
Jochen Garcke                                     mail: [EMAIL PROTECTED]
Institut fuer Angewandte Mathematik, Uni Bonn   wissrech.iam.uni-bonn.de
GCD Deutschland (Die Comic Datenbank)                  www.garcke.de/GCD
The future is viridian                            www.viridiandesign.org 

Reply via email to