login about faq

I get this error when trying to search for emails on the Yahoo IMAP server:

    connectedTo: imap.mail.yahoo.com
    selectedMailbox: Trash
    bUid: 0
    command: aaae SEARCH CHARSET ISO-8859-1 SUBJECT "blah èèè blah blah"
    imapResponse2: aaae NO [CANNOT] SEARCH error - Unsupported charset ISO-8859-1

asked Oct 16 '12 at 11:35

chilkat's gravatar image

chilkat ♦♦
11.8k316358421


The current behavior of the Chilkat IMAP class is to specify a multibyte charset in the SEARCH command if the search criteria includes chars that are not 7bit (i.e. not us-ascii). If 8bit chars are found, then the criteria string is analyzed and an appropriate charset is chosen based on the language of chars found (such as Russian, Greek, Hebrew, Arabic, Chinese, etc.)

Chilkat is adding a new IMAP property in v9.3.3 named "SearchCharset", which will default to "UTF-8" so that UTF-8 will always be chosen if 8bit chars are found. (If no 8bit chars are found, then no charset is specified in the SEARCH command and there is no issue.) The SearchCharset property can be set to "AUTO" to get the old behavior. (Or it can be explicitly set to any multibyte charset name, such as "WINDOWS-1252" if desired.

link

answered Oct 16 '12 at 11:40

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×175
×62
×27
×13
×2

Asked: Oct 16 '12 at 11:35

Seen: 2,498 times

Last updated: Oct 16 '12 at 11:41

powered by OSQA