Skip to content
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

Apply charset option to search queries consistently. #299

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

franciscodavid
Copy link

In search queries, when using a charset different from US-ASCII in a session with no UTF-8 capability, characters not belonging to the US-ASCII charset need to be converted to UTF-7. If this conversion is not done, characters not belonging to US-ASCII will make the request fail.

For instance, without this patch the search query "Areté" only will succeed using a UTF-8 charset inside a session with UTF-8 capability. It will fail if ssn->uft8 is set to false but the query is written in UTF-8.

Charsets different from UTF-8 or US-ASCII need to be converted to
UTF-7. If this conversion is not done, characters not belonging to
US-ASCII will make the request fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant