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

dirty quick fix for unicode search texts #41

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

Conversation

zhujiaqi
Copy link

@zhujiaqi zhujiaqi commented Apr 7, 2015

To fix mysql error <Illegal mix of collations for operation 'like'> after typing in unicode search texts (such as Chinese characters)

Heres a dirty fix by assuming:

  1. Those who seek the power of crud-admin-generator do not always know how to fiddle with charsets and collations, and they do not know what to expect.
  2. Case insensitive search is not too useful in this case.
  3. Performance is not an issue.

caveat: i have not tested the fix against mysql 5.5 minus

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