Skip to content

Fix Set charset to UTF-8 in convertMailQueryToHordeQuery#12907

Open
taiebot wants to merge 2 commits into
nextcloud:mainfrom
taiebot:Fix-search-encoding
Open

Fix Set charset to UTF-8 in convertMailQueryToHordeQuery#12907
taiebot wants to merge 2 commits into
nextcloud:mainfrom
taiebot:Fix-search-encoding

Conversation

@taiebot
Copy link
Copy Markdown

@taiebot taiebot commented May 7, 2026

Potentially Fix
bugs #9257 #10572

This is entirely AI generated but in 9257 there was a POC.

I have "partially" tested this it works i do not get the error that i get on #10572 with this search "identité" and "réunion" i must have an other problem with my yahoo mailbox because email bodies do not get downloaded (testing on main branch)

AI suggested to do it here
Ai slop below ...

Why this works

$query is created once

UTF‑8 is set once

The same $query object is passed through all tokens

No duplication

No crashes

Horde correctly converts UTF‑8 → IMAP UTF‑7 internally 

Signed-off-by: taiebot <dedreuil@yahoo.fr>
@github-actions
Copy link
Copy Markdown

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant