-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subject search chinese not support? #560
Labels
Comments
server.search(['SUBJECT', '中国乡村'], charset='UTF-8') |
This looks like a bug in _send_literal. It should be calling the has_capability method instead of assuming cached_capabilities has been populated. A workaround would be to call the I will work on a proper fix. |
mjs
pushed a commit
that referenced
this issue
Dec 1, 2023
_send_literal was assuming that _cached_capabilites was populated when checking for LITERAL+ but this isn't guaranteed. has_capability is now used to check for LITERAL+. This will populate the capabilities cache if it hasn't been already. Fixes #560
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我使用IMAPClient版本是3.0.0,我使用下面按中文搜索主题时不生效且底层会报错。
client.search(['SUBJECT', '每日信用管家'], charset='UTF-8')
The text was updated successfully, but these errors were encountered: